Any one knows about descriptive programming to identify
objects in a page?
Kindly drop me mail
prasanna.sabat@gmail.com
Answer Posted / ycy
BY DP
Dim obj_ChkDesc
Set obj_ChkDesc=Description.Create
obj_ChkDesc(?html tag?).value = ?INPUT?
obj_ChkDesc(?type?).value = ?checkbox?
Dim allCheckboxes, singleCheckBox
Set allCheckboxes = Browse(?Browser?).Page
(?Page?).ChildObjects(obj_ChkDesc)
For each singleCheckBox in allCheckboxes
singleCheckBox.Set ?ON?
Next
Go to help section in QTP and see for other objects like
webEdit, webtable, webelement.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
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.
How you will rate urself in QTP in the range of 0 to 5
How you can delete excel file in qtp?
how to test Web application using QTP software
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
How can you close the second opened browser?
What are the differences between quicktest professional (qtp) and winrunner?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
What is throw object?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...