webautomation

Controlling a web browser using Excel VBA

天大地大妈咪最大 提交于 2019-12-07 16:34:35
问题 I have been assigned the task of automating a web based task ( for a HTTPS website). The users currently are filling in the Excel sheet with the data, they now want to automate excel in such a way that it directly controls the browser and fills in the data. I found the iMacros Scripting edition as a possible solution for doing this, I wanted to know if there are any other similar tools which can be used for controlling the browser and filling in data. I also had a look at the Selenium Client

Controlling a web browser using Excel VBA

寵の児 提交于 2019-12-06 04:04:36
I have been assigned the task of automating a web based task ( for a HTTPS website). The users currently are filling in the Excel sheet with the data, they now want to automate excel in such a way that it directly controls the browser and fills in the data. I found the iMacros Scripting edition as a possible solution for doing this, I wanted to know if there are any other similar tools which can be used for controlling the browser and filling in data. I also had a look at the Selenium Client Driver, but I am not sure on how to use it in Excel VBA. Any help would be appreciated. Thanks, You can

Controlling a web browser using Excel VBA

倖福魔咒の 提交于 2019-12-06 04:02:46
I have been assigned the task of automating a web based task ( for a HTTPS website). The users currently are filling in the Excel sheet with the data, they now want to automate excel in such a way that it directly controls the browser and fills in the data. I found the iMacros Scripting edition as a possible solution for doing this, I wanted to know if there are any other similar tools which can be used for controlling the browser and filling in data. I also had a look at the Selenium Client Driver, but I am not sure on how to use it in Excel VBA. Any help would be appreciated. Thanks, You can

Python Selenium - What are possible keys in FireFox webdriver profile preferences

為{幸葍}努か 提交于 2019-12-05 04:54:15
问题 I couldn't really find this information anywhere, I am looking for a list of possible keys that can be used in the profile.set_preference() API. Here is some context: from selenium import webdriver from pyvirtualdisplay import Display display = Display(visible=0, size=(1024, 768)) display.start() profile = webdriver.FirefoxProfile() Now, if I want to, say specify a client SSL, I need to configure that as a preference of FireFox profile. I am trying to find the list of all the preferences so I

Python Selenium - What are possible keys in FireFox webdriver profile preferences

时光总嘲笑我的痴心妄想 提交于 2019-12-03 20:37:33
I couldn't really find this information anywhere, I am looking for a list of possible keys that can be used in the profile.set_preference() API. Here is some context: from selenium import webdriver from pyvirtualdisplay import Display display = Display(visible=0, size=(1024, 768)) display.start() profile = webdriver.FirefoxProfile() Now, if I want to, say specify a client SSL, I need to configure that as a preference of FireFox profile. I am trying to find the list of all the preferences so I can play with this. You can look at profile.DEFAULT_PREFERENCES which is the json at python2.7/site

Textbox events?

浪尽此生 提交于 2019-12-02 06:33:08
I am using Kantu to automate filling out some forms. There is a textbox that when a persons id number is entered and you click into another box or tab out of the textbox it will load that persons vcard. I can try to expound if you need more clarity. I don't know much but i'm guessing me clicking into another box is activiating some kind of event to load this vcard. I can't seem to simulate this. Does anyone know of a way to do so? Welcome to SO. There are different option to get the associated events. Let's take the stackoverflow search box (the one which is on the top with s-input js-search

How to find_element_by_link_text while having: NoSuchElement Exception?

血红的双手。 提交于 2019-12-01 09:38:52
This question has been asked over and over again - and in-spite of trying all the hacks I still can't seem to figure out what's wrong. I tried increasing the implicitly_wait to 30 (and even increased it upto 100) - yet it did not work. Use case -: I am trying to create a list that wil populate all the items in the page here , as a base case - and I intend to bind this to a mini-module that I already have with scrapy which has all (pages with similar web elements) crawled links - so essentially will be building the whole pipeline, post I am done with this. ###My source code - generated via

powershell: how to click a “submit type” input

℡╲_俬逩灬. 提交于 2019-12-01 09:22:07
used powershell to do web ui automation. came up an exception: invoke method failed, because [System.__ComObject] does not contain “click” method. can submit type input be clicked? i used getElementsByTagName getElementsByClassName getElementsByName , does not work. anyone can help me on this? powershell code is below: # open the specified web site and commit the key $ie = new-object -com "InternetExplorer.Application" $ie.navigate("http://gitlab.alibaba-inc.com/keys/new") $ie.visible = $true while($ie.busy) {sleep 1} $doc = $ie.document # commit the button $commit = $doc.getElementsByTagName(

How to find_element_by_link_text while having: NoSuchElement Exception?

强颜欢笑 提交于 2019-12-01 08:12:49
问题 This question has been asked over and over again - and in-spite of trying all the hacks I still can't seem to figure out what's wrong. I tried increasing the implicitly_wait to 30 (and even increased it upto 100) - yet it did not work. Use case -: I am trying to create a list that wil populate all the items in the page here, as a base case - and I intend to bind this to a mini-module that I already have with scrapy which has all (pages with similar web elements) crawled links - so essentially

powershell: how to click a “submit type” input

爷,独闯天下 提交于 2019-12-01 05:46:31
问题 used powershell to do web ui automation. came up an exception: invoke method failed, because [System.__ComObject] does not contain “click” method. can submit type input be clicked? i used getElementsByTagName getElementsByClassName getElementsByName , does not work. anyone can help me on this? powershell code is below: # open the specified web site and commit the key $ie = new-object -com "InternetExplorer.Application" $ie.navigate("http://gitlab.alibaba-inc.com/keys/new") $ie.visible = $true