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.
Answers were Sorted based on User's Feedback
Answer / sekhar
hai
i think it is done by discriptive programing we
can chek back ground colour, in program it self u have to
define perticular colour and its property,value.
if the back ground colour not changer then we go
for textarea, bitmap chek points.
if the colour is dynamicaly changes QTP will not
identify those all coloures then u have to be define.
****if there is any corrections plz mail me
sekharbirada@gmail.com
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / naidu
hey take GetRoProperty of the Object that gives the
Backround color and check with what ever you need.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / niranjan123
hi naidu,
Can u tell me how to get the background colour using
Getroproperty????????
Can u plze explain a bit?
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / deepam
Hi guys please check the following link for answer
http://motevich.blogspot.in/2007/09/qtp-font-size-color-background-color.html
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / niranjan123
But what if the records are dynamically get changes..if we
used bitmap checkpoint as mark has told..then the
testscript also get failed in the next run....Because the
image checkpoint took the static capture and if the records
get changed then it get failed to recognized and hence
image checkpoint get useless here....
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Answer / mark
Of course,we can check the colours in QTP.What for the
Check points are there ? Use bitmap check point.
| Is This Answer Correct ? | 0 Yes | 3 No |
How can we do Data driven testing Using For loop in QTP?
how to retrieve data from the data table (from a particular cell)
Hello, Can we capture only the labels of the web page in the object repository. If yes, then how. Actually my scenario is: I have to capture all the label of mercury site http://newtours.mercuryinteractive.com/tour/mercurypurchase. php. and want to copy all these labels in the notepad. So,please help me how to do this all. Thanks in advance, Gaytri
What is the difference between driver-script and AOM-script?
where do you store the test result?
I have given u a application.To automate it what are the things will u consider?
Diff between Test Stratergy and Test Plan? Diff b/w Test design ansd test case design?
what is descriptive programming? what are the mandotory properties in qtp? what are libriry functions in qtp? what frame work you are using at your project? what is object repositery? what is our role as per qtp project is concerned as a software tester?
How can we disable smart identification at the time of recording? Ideally, smart identification should be enabled only at the run-time.
How is UFT 11.5 version different from UFT 12.0?
Can I import a excel sheet in Action1 datatable? How?
w is fragmentation and paging