![]() |
|
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Senior Member Join Date: Sep 2007 Location: Bangalore Age: 27
Posts: 171
Thanks: 33
Thanked 130 Times in 40 Posts
Rep Power: 17 | QTP Q&A Suppose u hav a dialog or window which contains 10 buttons with same name & value. now how to check each button? i.e. how qtp indetifies these objects separately? QTP identifies object based on mandatory properties ,assitive properties which are present in the object repositery and it also uses its smart identification if it is enable .if at all it unable to find the object with this properties it will go for ordinal identifier How to parameterise a test with data base table or excel sheet? First get that data into the datatable of QTP and we can parameterise it three ways 1 Through Keyword view of test pane 2 Through wizard 3 dires\ctly we can write this method datatable("column name",sheetid) ex:datatable("a",1) for global sheet What is the difference between QTP 8.0 & 9.0? In QTP 8.0 we can associate only one shared repositery for one action . But inQTP 9.0 we can associate more than one shared repositeries to action . why we go for using regular expressions, actions. what is the main and exact use of this in real time applications? Regular expressions will be useful when you know the object properties are dynamic and they change frequently. For example in aweb page you know logical name of an object changes , like say CompanyStocks to Company For the same you can specify as Company.* under Logical Name. What does it mean when a check point is in red color? what do u do? A red color indicates failure. Here we analyze the cause for failure whether it is a Script Issue or Environment Issue or a Application issue. how can we merge the object repositories?is ther any option in qtp to merge the object repositories if we have two or three object repositories? In Object repository there is an option to export the existing object information to the required location, with the help of that option we do merging, but there are no specific method to merge the repositories. what ar the challenges do we face while testing webbased applications using the automation tool qtp or any? Generally we encounter following problems 1.Autopopulation of field data which is typed in previous actions. 2.Serverdown server cannot be found 3.Page cannot be displayed 4.taking long time to fetch a webpage(due to database problem) what is descriptive programming When you record an operation on an object, QuickTest adds the appropriate test object to the object repository. After the object exists in the object repository, you can add statements in the Expert View to perform additional methods on that object. To add these statements, you usually enter the name (not case sensitive) of each of the objects in the object's hierarchy as the object description, and then add the appropriate method.But in descriptive programming it is quite different.Let us see the below example. General programming: Browser("Mercury Tours").Page("Mercury Tours").WebEdit("Name:=Author", "Index:=3").Set "Arun Sankar" Descriptive Programming: Browser("Title:=Mercury Tours").Page("Title:=Mercury Tours").WebEdit("Name:=Author", "Index:=3").Set "Arun Sankar" The difference is quite very less. But is very important. Note:If you specify a test object by its object repository name after other objects in the hierarchy have been specified using programmatic descriptions, QuickTest cannot identify the object. what is output value out value is feature provided by qtp to capture a value from an application or from the data base or from the xml file during excution and stores it under a specified column in the runtime datatable what is datatable Data Table. Assists you in parameterizing your test. The Data Table contains the Global tab and a tab for each action. what is recovery senario manager It provides a wizard,when an unexpected error occurs during execution . to recover these things,we have the following steps: 1. trigger events. 2. recovery steps. 3. post recovery steps. 4. application crash. what is active screen QTP captures all window snap shots while recording the script and displays them in the active screen area. how u call the function We can call a function using below method. Call Function Name("Hello World") [public/private]Function Function(text [Arg List]) MsgBox text [Description] End Function how u conduct GUI testing and PERFORMANCE testing on MS-WORD? and What r the GUI Test Cases and performance Test Cases? Gui Testing can be done on MS-word by following 6 standard rules of microsoft.gui T.C’s are 1)proper alignement of the menu and submenu 2)no over lapping of menus 3)equals sizes of all the menu items Gui testing is done manually By default Action1 runs first in QTP. Is it possible to start the run with Action2? Yes it’s possible. Place the cursor at the start of your Action2 and right click, select Run from Step. What is meant by Repository? Logical name and physical properties which are required to identify the objects are maintained in a file called Object Repository.it is a feature provided the qtp. where Object's information is stored during the recording or a Test Engineer can explicitly sotre the object's information. and this information is used to identify the objects during the execution. in Qtp,how to display user name and pwd (script)in data table(global sheet). Datatable("name",dtglobalsheet)=dialog("login").winEdit("Name") .getRoproperty("text") Datatable("password",dtglobalsheet)=dialog("login").winEdit("pwd").getRoproperty("text") What is XML checkpoint in QTP. How we can use in Web Based application It is used to check the correctness of the data present inthe XML file.
__________________ Arunsankar Value has a Value-Only if its Value is Valued |
| | |
| The Following User Says Thank You to aforarun For This Useful Post: | AjayKumar.Kataram (20-11-08)
|
![]() |
| Tags |
| qanda , qtp |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MANUAL TESTING CONCEPTS (pdf) | ramkumarbtech | Testing Tools & QA | 17 | 16-11-09 01:08 PM |
| How to download qtp on vista | sonu2000 | Testing Tools & QA | 2 | 11-06-09 02:32 PM |
| Learning QTP and need help? | butair | Testing Tools & QA | 0 | 30-09-08 08:53 PM |
| Are you trying to learn/use QTP? | butair | Testing Tools & QA | 0 | 26-09-08 09:50 AM |
| Satyam Computer Services Ltd Walk-in in Hyderabad for Senior Test Engineers â QTP 2nd Aug | jobs | Walk-ins | 0 | 01-08-08 11:30 AM |
| More Interview Questions Here... |