How i can test the background color of the records
displayed in a Table. Eg i have a .net desktop application
and there is a Table(swftable) with records displayed in
the grids. i have to validate whether the 1st record is
displayed in white background color and 2nd record in light
blue background color...But the constraints is that once
user click on the first record...the background color
changes to grey.......Plze let me now how to validate this
with QTP 9.2.
Answer Posted / tvsramakrishnachowdary
bgcolor prop available in runtime test object properties
syn:
var=Objaectheirarchy.object.bgcolor
msgbox var
surly it can work
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to write business scripts using object repository with different scenarios
What are the five challenges you faced in QTP?
Get the count of files of similar types from a folder.
What are the different types of recording modes?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
How to use the object spy in quicktest professional (qtp) 8.0 version?
What is the process of synchronizing qtp and aut?
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 delete an object from the object repository?
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
what are all the fileds present in object repository?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
what is the difference between modular framework & datadriven framework