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 analyzing the checpoint results?
What are the different properties of an web object
When to use descriptive programming?
How many types of parameters are available in quicktest professional (qtp)?
What test you perform mostly? Regression or retesting in your testing process?
How we can import data from database?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
How you can replace string in qtp?
What is the difference between byref and byval in qtp?
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
How can you write the scripts that operate on different objects depending on run-time information?
What the differences are and best practical application of Object Repository?
How to use conditional loops in qtp ?