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
 


 

Company >> Covansys >> Interview Questions >> QTP Interview Questions
 
  SeeBeyond Interview Questions (1)   Oracle Apps Technical Interview Questions (1)   ABAP Interview Questions (1)
  Cognos Interview Questions (5)   XML XSLT RSS Interview Questions (2)   Core Java Interview Questions (2)
  COBOL Interview Questions (2)   Testing AllOther Interview Questions (1)   Test Documents Reporting Interview Questions (1)
  QA Concepts Interview Questions (6)   Manual Testing Interview Questions (39)   Automation Testing AllOther Interview Questions (4)
  Rational TestSuite Interview Questions (5)   Test Director Interview Questions (1)   QTP Interview Questions (13)
  Load Runner Interview Questions (1)   WinRunner Interview Questions (1)   DB Development Interview Questions (1)
  Crystal Reports Interview Questions (1)
 
Back to Questions Page
Question   If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle? Rank Answer Posted By  
 Interview Question Submitted By :: Siva
I also faced this Question!!   © ALL Interview .com
Answer
QTP handle this type situation using "Regular
expressions",like :"Windows.*"("*" indicates 0 to meny
no.s/characters ... in this case 1 2 3 4 5 ........)
 
0 Prasad
 
 
Answer
Yes..We can handle such situation using the regular 
expressions.Select "window1" in the script.Goto tools and 
open the object repository.Select Window1 in the tree that 
gets displayed.In the configure value click the constant 
value option button and change the value from "window1" 
to "window.*" and click the Regular expression 
checkbox.click OK.
 
2 Jaya
 
 
Answer
the same thing can be handled using smart 
identification..in base filter properties list select some 
of the unique properties for the window except the text 
property which is changing dynamically..and u can use 
GETROPROPERTY and SETTOPROPERTY for the same
 
0 Aparna
 
 
 
Answer
Best one is regular expression.Regular expression can 
easily identifies the objects with dynamic values during 
run-time.
 1. Go to Object Repository.
 2. Select the particular object in the left side and 
double click on the property value("Name of the window")
 3.Click on regular Expression check box and set as 'window
[0-9]*
 
0 Siva
 
 
Question   which checkpoint we use to validate yahoo login screen window after login with ur id and password in qtp Rank Answer Posted By  
 Interview Question Submitted By :: Grsmrc2118@yahoo.com
I also faced this Question!!   © ALL Interview .com
Answer
May be there are several ways, but I think, by getting the 
title of the yahoo page, we can validate. This is concept, 
not real example. I have to test this today.... So Check 
the correctness of this code before run it.

pname= Browser("...").Page("welcome xxxx/OR Something 
else").GetRoProperty("text")
If pname="welcomexxx" then
datatable("TestName",3)=Environment("TestName")
datatable("Results",3)="Pass"
else
datatable("TestName",3)=Environment("TestName")
datatable("Results",3)="Fail"
End if
Datatable.exportsheet "c:\res.xls",3
 
0 Anonymous
 
 
Answer
Already I am nervous.
First give me job. Then I show you how to do auto. Please 
don't ask such type of hard questions.
----------------------------------------------------------
By using Standard Check Points. Check the title of the Next 
Widow.
Ex: title="welcome.*"
x=Browser()page().GetROProperty("text")
If x="welcome JIGGA" then
Browser().page().webButton("").click
End if
We can use this as a standard check point.
 
0 Anonymous
[Neudesic]
 
 
Answer
rather than using checkpoints in scripts it is better to 
use GetRoProperty to validate any functionality. Some times 
Checkpoints are getting failed when scripts are moved from 
one location to the other location

for validating yahoo loging we can use inbox, compose 
buttons visible property
 
0 Venkat
[Neudesic]
 
 
Answer
Text Area check point for UID and Password Fields
 
0 Rajendra Pradeep
[Neudesic]
 
 
Answer
Page Check point OR Table Check point


Please correct me if i am wrong
 
0 Muralikri
[Neudesic]
 
 
Answer
Sorry for writting this Muralikrishna, your answer is 
wrong. You should use standard check point to login and 
passward and page checkpoint for the login window.
 
0 Purni
[Neudesic]
 
 
Answer
If it is after log in I mean after entering into the 
account u have to check the text check point inorder to 
verify the account holders name is appeared on the screen.
If it is sign in page u have to insert standard checkpoint 
to check username is printed or not.


sailaja
 
0 Sailaja
[Neudesic]
 
 
Question   we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position Rank Answer Posted By  
 Interview Question Submitted By :: Veda
I also faced this Question!!   © ALL Interview .com
Answer
HELLO...........
 Is it a toung twister mr or miss n plz inform me if u get 
a answer 4 tht i will be waiting.
 
0 Renuka.patil
 
 
Answer
Use Regular expression.......
 
0 Cradle_o_filth
 
 
Answer
If Listbox.ListCount >= 10 Then
  Listbox.RemoveItem Listbox.ListCount - 1
End If
Listbox.AddItem Textbox.Text, 0

 
0 Jagadesh
 
 
Question   we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also? Rank Answer Posted By  
 Interview Question Submitted By :: Veda
I also faced this Question!!   © ALL Interview .com
Answer
I think with discriptive programing  but i don't know how
to use that discriptive programing in this situation.
 
0 Veda
 
 
 
Back to Questions Page
 
 
 
 
 
   
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