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..
Answer Posted / 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 |
Post New Answer View All Answers
Suggest and Define a solution for an application whose objects are not recognized by UFT?
What are the trigger events in qtp?
how many maximum number of virtual users we can create?
How to check feasibility of the appliction?in automation testing?
Mention what are the different types of recording modes in qtp? Which will be used when?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
What is a programmatic description?
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
What is the difference between run time object and test object in QTP?
How the exception handling can be done using quicktest professional?
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
Define Environment Variable in UFT and its uses?
hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale
unique properties of button,edit box, radio button,check box?