Count the number of radio buttons and randomly select one.



Count the number of radio buttons and randomly select one...

Answer / nandhini

create childobject for radiobutton and get the count. Create random function to generate number in range and select one

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How to Start recording using QTP?

1 Answers  


Can u Reduce the size of Object repository? What are the problems u have faced in Qtp tool?

2 Answers   IncRev,


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

0 Answers  


Is it possible to convert QTP scripts to Silk scripts?

2 Answers   Sierra Atlantica,


Shall we add Local Repository to shared object repository,if yes,how we add

4 Answers  






In QTP while testing 3 tier application, It is Java Based Application developed using Java, servelets and JDBC etc... and It is a Web based Application.. which Add-In do we need to select while testing ...Java or Web Add-In

6 Answers  


how can i add an action(external action) programmatically?

3 Answers   Ordain Solutions,


Actually How do we use this Smart Identification Technology during Recording mode.

1 Answers  


Can anybody help me by sharing the code for checkbox in qtp using vbscript.

2 Answers  


What type of VB script u had done in expert view?

1 Answers  


What is the syntax to use out of two characters. Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

0 Answers  


Categories