i want click on a link which is in 3rd row and 2nd column of a
web table.write script to execute

Answers were Sorted based on User's Feedback



i want click on a link which is in 3rd row and 2nd column of a web table.write script to execute..

Answer / ashish srivastava

Browser().Page().Webtable().Childitems(3,2,"Link",0).Click

this will click on the 3rd row and 2nd column of the web
table

Is This Answer Correct ?    21 Yes 0 No

i want click on a link which is in 3rd row and 2nd column of a web table.write script to execute..

Answer / digi

set objPage=Browser().Page()
set objLink=objPage.WebTable().ChildItem(3,2,"Link",0)
objLink.click

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do

5 Answers   Covansys,


plz can any one send me what is Automation Testing Frameworks.. Thanks in advance

1 Answers  


How do u fetch data from a database ?

2 Answers  


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

0 Answers  


Can u call txt extension file in QTP?

2 Answers   Cap Gemini,






How many types of recording modes in qtp? Which will be used when?

0 Answers  


How many types of Automation frameworks are there in UFT? Describe them.

0 Answers  


Explain the new feature of UFT regarding the export of test results?

0 Answers  


what QTP Options do you know?

0 Answers  


what type of run time errors you get while you ar edoing rpg program?

0 Answers  


Hi Everybody, Can anybody please tell me the how to display the result of the QTP in the notepad text file rather than in the QTP result window. Suppose this is my simple script:WHich will open the notepad file and enter some text and then will change the font then will calculate how much time has been taken.Now, in this script i want to display the result in notepad file. Dim s Dim starttimer,endtimer,timeit s="uyetuywqtywqte" SystemUtil.Run "notepad","","Y:\","" Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp Window("Notepad").Dialog("Save As").WinEdit("File name:").Set "test1" Window("Notepad").Dialog("Save As").WinEdit("File name:").Type micReturn Window("Notepad_3").Type s Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp starttimer=timer Window("Notepad_3").WinMenu("Menu").Select "Format;Font..." Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Type "cou" + micDwn Window("Notepad_3").Dialog("Font").WinComboBox ("Font:").Select "Courier" Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Set "Courier" Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type micReturn endtimer=timer timeit=endtimer-starttimer print(timeit) Please also tell me where the function for the text file result will be declared and where it should be called. Thanks, Gaytri

2 Answers  


what is a good testcase?

3 Answers   Wipro,


Categories