My web application is something like yahoo mail account where I have subject filed, sender name filed e.t.c. now I want to get text from any row say from sender name how exactly I can get it and display it in result file.
I am using
List of String ls
Ls = BrowserPage.HtmlList(#1).GetContent()
But when I run it it gives me an error HtmlList not found . I tried with HtmlTable ,HtmlRow etc but every time it gives similar type of error
Can somebody tell me how can I do this
I didnít get what exactly you are asking.
My test case does some thing like this
1. It will Open the application say yahoo.com enters mail ID, password Clicks on sign button and waits till mail account opens
2. Once mail account get s Displayed clicks on InBox button and waits till inbox opens
3. now in In box I want get the senders name and print in the result file
till step 2 my test case is working fine now how do I proceed further in my testcase so that I will get the static text displayed in the browser that is step 3 ?
I am not getting how can silk test understand that it has to get text from that location as I am not in a position to set focus at that point