In a web page, one web table is present which is dynamic.
In that table one of the column has links with the same
inner text. write a script so that i need to click the
third link.
Answers were Sorted based on User's Feedback
Answer / tvs ramakrishna chowdary
i am not understanding ur question please post question
once again clearly i can give anser or mail to me
my mail id is-->krishnat.qa@gmail.com
| Is This Answer Correct ? | 0 Yes | 0 No |
Hi All
U can also do this by using GetRowWithCellText method
At First get the row which u got that link in WebTable
Obj=Browser("title:=.*").Page("title:=.*).WebTable("name:= ").GetRowWithCellText("Just give the name which link u wanna click")
Now u got the row no of that particular link in obj
If obj<>0 then
Browser().Page().WebTable().Link("name:= ").click
End If
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kamepalli
Get the child item from the table by using the below stmt.
a=browser("").page(").webtable("").childitem("weblink",2)
a.click
So by using index we can get the specified link from the webtabel.
| Is This Answer Correct ? | 0 Yes | 1 No |
How to import a test case present in ".xls" file to TD under a Test set?
For which type of projects the iterative model is not suitable?
One build is delivered. in that build button name is submit. but in the next buit that name of the button changed as login.are u continue with previous recorded script or u make any changes?
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
When to use shared and local object repository?
How you will rate urself in QTP in the range of 0 to 5
In automation testing Can we retest virtual object in the application after getting new version from the developers, is there any property will change for that object or it won't.?
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
How to handle Java tree in QTP?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
In QTP I have a parameter in a datatable that is a sentence. I need to take the last word from the sentence and enter it into a field in a web application. How can I setup a parameter to enter in just a portion of the parameter (last word of the sentence) instead of the entire paramater (whole sentence).
How can you handle exceptions in qtp?