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 |
what is the diffrence between script and Language ? (Chandana)
How are actions and functions different in QTP?
How can we check whether a particular sheet loaded (existed) or not in Data Table.
Hi All, I wanted know how does QTP identifies a DataCombo. While recording I clicked on the data combo and selected a value from the list. The click of Data Combo is recorded but the selection of the value from the list is not recorded. My application is based on VB and SQL server as the database. Please let me know as how do I record the action of selecting a value from a DataCombo list. The list is being loaded from the Database Record set.
If the object property is changing very frequently, what was your approach?
What is the difference between Call to Action and Copy Action.?
What are the recording modes in wave event?
how to explain a claims and insurance project?
How to create a run time propertyfor an object?
Hi. GetRoProperty and OUTPUT Value Both are same purpose or not? plz explain in deatil with example?
Is QTP supports Unix. If yes, then how the test automation is done?
I have thousands of links are there, i want check each and every funtionality of link by using descriptive programme, retrive link name from excelsheet then operate in application. Please anybody send me model script