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 |
Hi, I Need code to click the webbutton inside of webtable. I need to click a particular 'Edit' webbutton inside of webtable. For Example... Having 5 Rows and 10 Columns. 'Edit' webbutton are placed in 10th Column. I need to click the 3rd row 'Edit' button with unique value. Browser("....").Page("...").Frame("...").WebButton("btn_Edit ") I Tried with below code: Set objButton = Browser("...").Page("...").Frame("...").WebTable("...").Chil dItem(3,10, Webbutton,0).Click - Not working this code :( Anyone can help me to sort out this simple issue ???
What is keyword view in qtp?
Which function is used to accesses the Properties from Repository Pls anybody can give the answer.. Thanks in advance...
Explain the terms test and business component?
How to find Operating system information using QTP script?
How QA specialist can identify when programmatic descriptions are useful?
how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?
how to export the result to notepad....for example i want to enter the user name and pass word and clicking on login button ......once you click on login button the corresponding page will open ...in that page you having one list box ...here you can get either success or failure ........friends here i want export the message what ever i got either success or failure .....how to export the result to note pad
How to automate the windows dialog box which is coming in the run mode? Whenever I run my scripts,I am getting dialog box ( for ex: Pls enter zipcode" eventhough I already entered the value,the dialog box pops up).I need to click it. Pls give some idea-How to automate the dialog box which is pop up in the runtime.
Can any one please list me out the shortcut keys for some functionalities in the QTP .. for example ..to record...to run...etc
Does QTP support flat files? If yes what are those?
HOw to add the recovery file at runtime to the test file .