|
|
How can urgent translation services help you ?
Why should one opt for urgent translation services? Life has become much simpler and more convenien
|
How to identify broken links in QTP
Broken Links also sometimes called as dead links are those links on the web which are permanently unavailable. Commonly found, 404 error is one example of such link. There can be two ways to do this: Using Automatic Page checkpoint. By manually creating a Page checkpoint. Using Automatic Page checkpoint: Go to Tools > Options > Web > Advanced and check the two boxes labeled “Create a checkpoint for each page while recording” and “Broken Links” Now every time you record a new pag
|
What is the lservrc file in QTP?
The lservrc file contains the license codes that have been installed
|
Difference between QuickTest Professional 9.1 and 9.2 and lower versions
QuickTest Professional 9.1 provides replay support for Mozilla Firefox 1.5 and Mozilla Firefox 2.0 QuickTest Professional 9.1 will not record on FireFox. You can record a test on Microsoft Internet Explorer and run it on any other supported browser, such as FireFox. QuickTest Professional 9.0 QuickTest Professional 9.0 provides replay support for Mozilla FireFox 1.5 QuickTest Professional 9.0 will not record on FireFox. You can record a test on Microsoft Internet Explorer and run it on an
|
Define Exiting an Action statements in QTP?
There are three types of Exit Action statements: • ExitAction - Exits the current action, regardless of its iteration attributes. • ExitActionIteration - Exits the current iteration of the action. • ExitRun - Exits the test, regardless of its iteration attributes. • ExitGlobalIteration - Exits the current global iteration.
|
How Does Run time data (Parameterization) is handled in QTP?
You can then enter test data into the Data Table, an integrated spreadsheet with the full functionality of Excel, to manipulate datasets and create multiple test iterations, without programming, to expand test case coverage. Data can be typed in or imported from databases, spreadsheets, or text files.
|
Which object repository we use in real time and can we merge 2 object repository and how?
There are usually two types of object repository 1.Shared Mode Object Repository (.Tsr) 2.Per-Action Object Repository (.Mtr) We usually use 1.Shared Mode (.Tsr)object repository. We can merge two object repository. If you go to QTP-->File-->Settings-->Recourses You can use the Resources tab of the Test Settings dialog box to associate specific files with your test, such as VBScript library files and Data Table files, and to specify the object repository mode an
|
How to change the screen name while running the test in QTP.
using SetToProperty
|
How to get font size of a "WebEdit"
'We will use OUTERHTML Property and use split concept we will get font size
Example:
Outerhtml=<input size="12" .....="">
dim a,i
a= Window("yahoo").page("yahoo").Webedit("name").getroproperty("outerhtml")
i=split(a,"=")
msgbox i(0)
|
What is the difference between checkpoint and output value in QTP?
Check Point: It is nothing but a verification point allows the users to compare the expected values with the actual values of the application.
Output Values: This option from Insert menu will be used to get the runtime output values of the application objects either Text values or Property Values or Database values.
|
How to change the Default synchronization method time and where in QTP?
File->Settings->select Run tab and change the default value
|
What is function to convert a string value into Integer value in QTP
Function to convert a string value into Integer value is Cint()
|
What is the extension of the QTP result view file?
Extension of the QTP result view file is .xml
|
How do u write a regular expression for date (dd/mm/yyyy) field and email Id?
Expression for date (dd/mm/yyyy) field
[0-3][0-9][/](([0][0-9])|([1][0-2]))[/][0-9]{4}
Expression for valid email id
^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}" +
@"\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\" +
@".)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$
|
How you test broken link using the automated tool QTP?
By using page checkpoint
Go for Insert->Standard check point->select one object->then select it's parent page. So it displays page check point properties then select "Broken link" option from that wizard. In this the way we can check the broken links.
|
What is the Difference between Quick Test Pro and Quick test professional?
There is no difference between Quick Test Pro and Quick test professional
|
Where virtual objects store results in QTP?
Virtual object wizard
|
What is the extension of Virtual object in QTP?
extension of Virtual object is .vot
|
What are the data types in QTP? What are the functions available in QTP?
QTP have only one Data Type that is Variant Data Type its have so many variants like double, integer, Boolean etc.
QTP have two types of functions that are Built-in Functions and User Defined functions . Built-in functions are predefined by the System. And User Defined Functions are defined or built by the user that are stored in Function Library File.
.mtr stands for mercury test repository
|
How can you select random value for every iteration from a web-list? (Important for interviews)
First get the Items count from the List and Use the RandomNumber() function to get the random Index value. The below code will work
ItemsCount = Browser("Browsername").Page("PageTile").WebList("WebListName").GetROProperty("items count")
Browser("Browsername").Page("PageTile").WebList("WebListName").Select ("#" & RandomNumber(0,ItemsCount))
|
What is Regular Expressions in QTP?
Regular expressions enable QuickTest to identify objects and text strings with varying values.
|
What is the difference between Table checkpoint and Database checkpoint in QTP?
Table checkpoint is used to check the contents of a web table.
Database checkpoint is used to check the contents of a database using sql queries
|
What does VBS file contain? what is VBS file?
vbs file contains the user defined functions which are reusable that can be used in our test according to our requirement VBS file extension is .vbs(Visual Basic Script file) .vbs file is also called as "Library File"
|
What is the difference between Dim And Re-Dim in QTP?
Dim statement is used to formally declare a variable, where as Re-Dim statement is used to resize a dynamic array that has already been declared.
|
How many actions we can create with in a test in QTP?
255 can be create in test in QTP.
|
Can you import and export data from XLS and how QTP?
datatable.export(“path where u want to export”)
datatable.import(“path from where u want to import”)
or
right click -> File -> Import from File /Export
|
What is synchronization point in QTP?
Synchronization point is that which handles anticipated timing problems by ensuring that QTP waits for some times until the application is ready for the next step
|
How to load the *.vbs (or) test generating script in a new machine?
Actually we load .vbs files into QTP with the following option
Files Menu-->Settings-->Resource Tab-->Press '+' symbol , then we get some Browse button press and navigate the path of that .vbsfile then its automatically load in system
|
Define Mid function?
Returns a specified number of characters from a string. Mid(string, start, length)
|
Do we get any issues if we run the test script on different browsers? What are the options we need to set in QTP?
Obviously QTP will not detect if we run the script in a different browser. We need to change the “Record and Run Settings”
|
|