Hi,The question is write a script for the following
scenario.
scenario:in a job portal i entered QTP 3yrs testing then
click search button.then it displays results like
Test lead bangalore (here is a checkbox).
Test lead hyderabad check box
so on...
question is if test lead position in bangalore then
checkbox shld be enabled automatically..

Answers were Sorted based on User's Feedback



Hi,The question is write a script for the following scenario. scenario:in a job portal i entered ..

Answer / balaji

Better Capture the webtable rowcount and columncount like
row=Browser("<name>").Page("<Page>").Webtable
("<tablename>").rowcount
column=Browser("<name>").Page("<Page>").Webtable
("<tablename>").columncount

For i=1 to row
For j=1 to column
val=Browser("<name>").Page("<Page>").Webtable
("<tablename>").getcelldata(i,j)
if instr(val,"Test Lead")>0 then
Browser("<name>").Page("<Page>").Webtable
("<tablename>").childitem("Webcheckbox",i,j).Select "On"
next
next

Reach me @9894207910 if u want more info.

Is This Answer Correct ?    3 Yes 0 No

Hi,The question is write a script for the following scenario. scenario:in a job portal i entered ..

Answer / suresh

vbCheckBox("name").set "ON"
is to select the specific CB.
Iam afraid, I could not understand what you are asking
for...

Is This Answer Correct ?    2 Yes 0 No

Hi,The question is write a script for the following scenario. scenario:in a job portal i entered ..

Answer / sri satya

Your question is not clear, can u tell me once again clearly

Is This Answer Correct ?    1 Yes 0 No

Hi,The question is write a script for the following scenario. scenario:in a job portal i entered ..

Answer / tvs ramakrishna chowdary

balaji is obsolutely correct...

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

0 Answers   Mindlance,


How to create basic scripts from a manual test case in QTP?

1 Answers  


what is a active x control?can any one brief me about active x controls

1 Answers  


What are the disadvantages of Recovery Scenarios in QTP ?

3 Answers  


When should I use smart identification?

0 Answers  






i don't have any experience in qtp? Can u please tell me What work i have to do?

4 Answers  


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

0 Answers  


How to analyzing Test Results using QTP?

1 Answers  


I'm having a problem to get the status(pass or fail) during runtime for every iteration ran, and must get the results stored to an excel sheet if possible.

1 Answers   FAI,


how to do spell check in QTP? reply please

8 Answers  


How i can change shared repository to per test repository in qtp

1 Answers  


how can i pass parameters into function?

4 Answers   Livetek,


Categories