1) 100 test boxes there in application. how to click 100
test boxes using vb script? 2) 100 objects there in web
page,how we will store that 100 objects repostries?
Answer Posted / uday
The expectated answer for these kind of questions is using
descriptive programming.
If you create single webedit object, then u can use it for
100 webedit objects.
set editObj=description.create
editObj("micclass").value="webedit"
set editChildObjCol=b().p().childobjects(editObj)
for i=1 to 100
editChildObjCol(i).click
next
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
What ate the Technologies supported by QTP?
how to write xml output check point bu useing descriptive programing .means without useing output check point
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
When do go for loop condition in test?
What are the different types of action?
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
how to test Web application using QTP software
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
what type of automation is follwed in the project?
Object repositories types, which and when to use?
What is the difference between run time object and test object?
What is QTP and the use of QTP in TD?
Why we load add-ins in qtp?
How to create runtime property for an object?