If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. I am trying to create a automation script that performs a click on an element on a web page using vb.net. I created something like this in java using selenium to find the element and then click:
WebElement test = driver.findElement(By.xpath("//div[@id='divMenu20100608192545780709']/div[3]"));
String js = "arguments[0].style.height='auto'; arguments[0].style.visibility='visible';";
((JavascriptExecutor) driver).executeScript(js, test);
if( test.isDisplayed()){
jscript.executeScript("myonclick=window.parent.location.href='/smcfs/console/po.detail?CurrentDetailViewID=SPRYOMD3290';");
Thread.sleep(3000);
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
I am using Silk Test now.
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.