ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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.
 Question Submitted By :: Niranjan123
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
it is not possible to test the colours wtih qtp.
 
Is This Answer Correct ?    0 Yes 2 No
Ravi
 
  Re: 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
# 2
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 2 No
Mark
 
 
 
  Re: 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
# 3
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
Niranjan123
 
  Re: 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
# 4
hey take GetRoProperty of the Object that gives the 
Backround color and check with what ever you need.
 
Is This Answer Correct ?    0 Yes 0 No
Naidu
 
  Re: 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
# 5
hi naidu,

Can u tell me how to get the background colour using 
Getroproperty????????

Can u plze explain a bit?
 
Is This Answer Correct ?    0 Yes 0 No
Niranjan123
 
  Re: 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
# 6
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 ?    0 Yes 0 No
Sekhar
 
  Re: 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
# 7
I think you can use virtual object.
 
Is This Answer Correct ?    0 Yes 0 No
Pp
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
how u conduct GUI testing and PERFORMANCE testing on MS- WORD? and What r the GUI Test Cases and performance Test Cases? Syntel3
How can you delete the results file (XML)  2
take one exmple and write on that discriptive programe in qtp?  1
What is the diffrence bettween QTP 9.0 and QTP 9.1?  1
what is test data Wipro3
does qtp runs on internet explorer 7.0 BeBo-Technologies5
Hi All I'm new in QTP. I'm trying to make test cases for login on Flight.exe . I have parametrise the agentname and password field. So wen wromg agent name or password is entered it show a dialog box with proper message(Like: "Wrong Password" or :Please enter Password" etc) and OK button. I have created If else block. Now my problem is i want to make checkpoint on error message Dialog box. But each time i create a checkpoint it shows same text message. So how i can check that message is there or not.  2
what is purpose of automation?  2
Dear Friend, I am New in QTP 10 so can any one tell me how to do QTP testing on WEB APPLICATION while writing VBScript. If Possible then Give Example how to write vbscript in QTP to test WEB Apllication. Vishal Patil  1
If u r using descriptive programming to identify the object where do u write the script for those objects? do u write it in the expertview? plz do answer its urgent thanks advance.  2
How to make Non reusable actions into reusable action? is that feature available in QTP Ordain-Solutions2
What are associated files in QTP?  2
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me  2
Tell me few important difference Between QTP and WinRunner? TCS8
What is iteration? How it is related to Test Results in QTP Virinchi-Technologies2
What u say as experience(Interview) "TELL ME ABOUT UR SELf"? As a Fresher(interview) What u Say? ShopRite2
can we take 'dim my pen is good' as a paramerter  2
what is the extension for QTP files?  10
Hi guys i'm prepareing for interview question for qtp i don't have bayground for vb scipt language can any one tell me it is easy to do job in qtp without bayground.  3
Can we continue functionality testing without framework?  4
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com