What is obsolute path and relative path in QTP..? How to
access them and what are the differences between them...??
Answers were Sorted based on User's Feedback
Answer / nath t
Absolute path means we have to mention full path in script.
Example: executefile "E:\project name\libraries\main.vbs"
Relative path menas no need to give full path just mention
file name
Example: executefile "main.vbs"
But here if you want to convert this Absolute file path as
relative path. you should do following steps
Tools menu-->options-->folders tab
here you have to add this path example "E:\project
name\libraries"
then you can use direct filename as above mentioned in the
relative path example instead of absolute path example.
Is This Answer Correct ? | 11 Yes | 5 No |
Answer / radhika
A small correction in the path
You can make your path relative before only by going to
Tools->options->Folder->check the checkbox "Relative
path ...."
Basically we go for relative path when we are going to
copy our qtp scripts to different location like from C
drive to D drive on different machines
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / radhika
Absolute path means the existing path of your test.
Ex: c:\Data\inputfiles\testscripts\test1
Relative path means the path which you want to access from
the rootfile you need.
Ex: ..\..\..\iputfiles\testscripts\test1
Basically it sgood to prefer relative path as, if the
location of the root folder changes you do not get any
errors
You can make your path relative before only by going to
Tools->options->run->check the checkbox "Relative path ...."
Is This Answer Correct ? | 2 Yes | 1 No |
can any one tell me what is process metrics and what is product metrics if possible give me example. Thank You
QTP in mumbai
What is a programmatic description?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
How many types of parameters are there?
How to handle dynamic objects in quicktest professional?
what is verification & validation?
What is diff betwee datatable.importsheet "path" and datatable.import
We have opened three browser such as Facebook,Gmail,Amazon,I want to generate the script of Login of Amazon application, but while adding the object such as edit box(user id,password) in OR is not added.Could you please resolve my issue
write a qtp code to display all the items in the fly from combo box or list box
Hello Everybody, Can anyone tell me that in QTP how to count the number of webelements from the object repository. Please provide the code. Thanks in advance, Gaytri
is it possible to check the text displayed in the tool tip using QTP? if so, how?