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   SiteMap shows list of All Categories in this site.
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
1.	In build1 there is a page with two check boxes and 
a submit button. You have prepared a script for that page 
and its working fine. In Build 2 the developers have added 
two checkboxes in the page. Will the script prepared for 
Build 1 work for Build 2 or not. If yes, why and if No, 
why. Remember the developers have not touched the object 
properties of the textboxes in the page.
 Question Submitted By :: Xyz
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 1. In build1 there is a page with two check boxes and a submit button. You have prepared a script for that page and its working fine. In Build 2 the developers have added two checkboxes in the page. Will the script prepared for Build 1 work for Build 2 or not. If yes, why and if No, why. Remember the developers have not touched the object properties of the textboxes in the page.
Answer
# 1
Yes, Exactly!.It will work if you have written a 
descriptive programing.
Write a code in descriptive programming to find out the no 
of Check boxes using child object method.It will work for 
not even two, Any no of Check boxes.
 
Is This Answer Correct ?    1 Yes 0 No
Rayudu
 
  Re: 1. In build1 there is a page with two check boxes and a submit button. You have prepared a script for that page and its working fine. In Build 2 the developers have added two checkboxes in the page. Will the script prepared for Build 1 work for Build 2 or not. If yes, why and if No, why. Remember the developers have not touched the object properties of the textboxes in the page.
Answer
# 2
Its all depends how you developed the Script.
If you are not using Index Property  for the checkbox,Then 
it will wotk.
 
Is This Answer Correct ?    1 Yes 0 No
Litan
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Hi Friends, Can any one answer this question? 17) What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value  1
wt is the difference between global and action excel database in qtp?for example one action is calling another action the second action is using action excell sheet?if it is using global sheet what makes the difference? Datamatics1
Hi All, I am using QTP for one of the Desktop application which uses Keyboard inputs like 'Tab ,F7 etc' and also mouse (Click). After recording when i am running the Script ,it is not able to recognize the keyboard inputs like F7,Tab and mouse Click because of which either i have to skip that part or manually do the inputs. Please answer how can i make script more flexible so that it will recognize both keyboard and mouse operations.  3
What do you do if QTP doesn't recognize object ,what action should be taken Lehman-Brothers9
Hi I have a doubt in qtp. Can you please clarify my doubt. If we are importing the data from excel sheet in qtp the the script is running the number of row times. I mean if there are 4 rows in excel sheet the script is running 4 times. cant we avoid this. suppose i have tis script: datatable.Import "C:\Documents and Settings\sailaja\My Documents\login1.xls" n = datatable.GetRowCount For i =1 to n systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" datatable.SetCurrentRow i Dialog("Login").WinEdit("Agent Name:").Set DataTable ("Username", dtGlobalSheet) Dialog("Login").WinEdit("Password:").Set DataTable ("Password", dtGlobalSheet) Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX ("MaskEdBox").Type "020209" Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt" Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "Sailaja" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").WinMenu ("Menu").Select "File;New Order" window("Flight Reservation").Close next I created a excel sheet with 3 rows and 2 columns. (username and password). The script is running 9 times. I made the option run one itaration only . eventhough it is running 9 times .can u plaese clarify my doubt. Thankyou Sailaja.  2
How to handle dynamic objects in QTP? Infosys3
Define QTP ? TCS4
1) after inserting the check point how to change the expected value that was captured while inserting the check point TCS2
How to export data present in Datatable to an ".xls" file?  1
how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes STC3
how do you done Data-driven test using MS-Word Instead of DataTable IBM3
can anyone please send me qtp framework material please its urgent  1
I want to create Excel object on another machine which is in network i written the code "Set se=createobject ("Excel.Application","\\ankur")"here \\ankur is the name of that machine but i m getting the error of permission denied create object can anybody help me  1
pls tell me different type of automation frame works in QTP and which one need to select in client server application Syntel6
How can the name of a checkpoint be changed in Qtp Ordain-Solutions2
What is the diff between doing parametarisation using Data Driven wizard or manually. when do we go for manual para...and when do we use Data driver wizard..can anybody answer it ..Thanks in advance Siemens5
what is the silent mode in WR?  1
Plz explain about Virtual object? What is the situation u r using , explain with example?  1
i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function? CTS2
What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?  1
 
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