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
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 |
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 |
Answer / tvs ramakrishna chowdary
balaji is obsolutely correct...
| Is This Answer Correct ? | 1 Yes | 0 No |
Which property will you use to check the object state? (Exist)
What are the versions of qtp,What are the differences b/n them?
if numbers are always changing write a script for that
Mention the test steps of qtp.
General Ques : At What State u start Automating ? means at what stage we start writing QTP scripts ?
what is the difference between an Action and a function in real time
Please give me the steps to carry out datadriven in QTP8.2
What are the Mandatory Properties of WebTable Object and Link Object in Web testing using QTP
what's the difference in between function and sub and give some code as well
what is the hierachy of Descreptive programming?
How you automate test scripts
I have 1 to 10 action are there, i want action1 output becomes to action 10 input? pls any can give script for this scenario?