Write a code check the checkbox in the web table which is in
the 4th row and fifth column (Use child item concept)

Answers were Sorted based on User's Feedback



Write a code check the checkbox in the web table which is in the 4th row and fifth column (Use chi..

Answer / uday

set cbObj=browser(browserObj).page(pageObj).webtable
(webtableObj).childitem(4,5,"WebCheckbox",0)

cbObj.set "ON"

Is This Answer Correct ?    16 Yes 0 No

Write a code check the checkbox in the web table which is in the 4th row and fifth column (Use chi..

Answer / goutham

set cbObj=browser(browserObj).page(pageObj).webtable
(webtableObj).childitem(4,5,"WebCheckbox",0

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

what is debugging testing?

5 Answers  


write script for , launching fr window,login and create 5 elements array and store 5 order numbers inthat array? and open order by using order no.s in array and find out maximum tickets booked by which order?

1 Answers   TCS,


what is a good testcase?

3 Answers   Wipro,


how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function

1 Answers  


I have multiple radio buttons i need to select a radio buton and i dont want to hard code i have a generic function for it there i have used select#0 so it selects first radio button but for other script i want to select the 4th radio button how i can make it still more generic

4 Answers   Accenture, Acentia, LM,






If u prepare bug report in Excel sheet . Is it possible to send thrw Test director? how it is?

3 Answers   Wipro,


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

0 Answers   TCS,


What is the difference between Systemutil.run and Navigate.

6 Answers   Synechron,


What is the exact difference bet function and action in QTP Anybody can explain it in detail..Thanks in advance..

12 Answers   Wipro,


Please guide me release notes of Automation once scripts are completed

0 Answers  


Using Object Repository is a advantage or disadvantage?

6 Answers   Wipro,


What is error handled other than recovery scenario manager?

2 Answers  


Categories