Hi,
Can anyone help me with:
How to select a value from combobox and check the checkbox and set the filter.
I have to set a filter by selecting a value from dropdown.
Also, im using UFT 11.5 so can anyone help me with code for UFT.
Thanks
Sreevidya
Answer Posted / ranga
I think the following site is helpful to you to set the filter....as i'm not able to understand your question clearly.
http://www.tutorialspoint.com/qtp/qtp_smart_identification.htm
For Selecting a value from combbox
Window("").Wincombobox("").select "value to select"
Selecting check box
Browser().Page().webcheckbox().set "ON"
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are the different types of recording modes in qtp? Which will be used when?
How to delete an object from the object repository?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
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); }
How to call a test from another test?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
How you calling actions in qtp?
How many types of recording modes are there?
how do u plan test automation?
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
What are benefits of qtp?
What is checkpoints for qtp?
In qtp, how you can get the last character from a string?
What is the process of synchronizing qtp and aut?