how to write code for to select all the checkboxs in the
gmail
i wrote code for my question but it didn't works any body
suggest what wrong my code my code is Set
chkboxDesc=Description.Create()
chkboxDesc("type").value="chekbox"
Set chboxcollection=Browser("name:=Gmail
.*").Page("title:=Gmail .*").ChildObjects(chkboxDesc)
For i=0 To chboxcollection.count-1
chboxcollection(i).set "ON"
Next
i was getting general run time error pls help me i am in
learing stage
Answer Posted / udham singh
chkboxDesc("type").value="chekbox"
replace this line with
chkboxDesc("miclass").value="webchekbox"
in ur code spelling of checkbox is also wrong
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
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); }
Give me some real time point of way where exactly we can conduct audits?
Explain different types of checkpoints?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
What is an object repository?
what is stepin & stepout?
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
How to execute a winrunner script in quicktest professional?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
How to find the name of the machine where you are running your automation scripts in qtp?
What environment does qtp run in?
How to handle Java tree in QTP?