Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Display results as :
Advanced Search

Go down
Posts : 1
Join date : 2017-05-10

How to access element through Selenium which uses observable binding  Empty How to access element through Selenium which uses observable binding

on Wed May 10, 2017 4:16 pm
Hi All,
I am new to Selenium automation. I am testing an application where a text box uses observable binding . How can we deal this through Selenium. Here is the information on issue I am facing. Please help to resolve this issue.

I am saving a report through automation.
In report name Text box I entered name through automation and selected done.
Now I am observing a message "please enter report name" , which indicates that report name I entered in not taken.
From visual studio while debugging I entered report name manually re executed Done button. Now it works fine.

I tried following :
IWebElement textBox1 = driver.FindElement(By.CssSelector("div#Update-view input#reportName"));
IWebElement doneButton = driver.FindElement(By.CssSelector("div#Update-view div.ui-block-d span.ui-btn-text"));

Following is the info of the element:

Back to top
Permissions in this forum:
You cannot reply to topics in this forum