Forum Discussion
EkremMese1
Contributor
function searchForExistingRecord()
{
navigate_person_search_form();
let page = browser.pagePersonEidss;
page.Wait();
let textbox = page.formPersonsearchform;
let textbox3 = textbox.textboxPersonId;
textbox3.WaitProperty("Enabled", true, 2000);
let str = DDT.CurrentDriver.Value("PersonID");
Log.Message(str);
textbox3.setText(str);
textbox.buttonSearchbutton.ClickButton();
aqObject.CheckProperty(textbox.hyperLinkInGrid, "contentText" , cmpEqual, DDT.CurrentDriver.Value("PersonID"));
browser.Close();
}
EkremMese1
6 months agoContributor
I wanted to see the Excel values in the console before I pass it to textbox3 in the line 15
For that purpose I wrote line 12 and line 13
Now my code fails at line 12
So that means its about parsing the data in excel.
- Marsha_R6 months agoModerator
Let's see a screenshot of your Excel sheet. We can't see the cell formatting but we might be able to spot something else.
- EkremMese16 months agoContributor
I don't believe it is because of cell formatting.
Because if that was the case, all the functions would give the same error. But as I mentioned above when I use the same file for some other functions it works but in this particular one it's not working.
Related Content
- 2 years ago
- 8 years ago
- 7 years ago
Recent Discussions
- 4 days ago
- 4 days ago