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 |
what is risks of testing a project?
Have you faced any problems with object repository?
how to retreive the xml file data through qtp.can anybody send script for this..
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
how to merge object repositories?
when we enter url,one page should open.write a vb script ,that page is open or not
2 Answers Blue Chip India, Persistent,
write the regular expression for date format of mm/dd/yy?
10 Answers CTS, HCL,
How does u create new test sets in TD?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
What does it mean when a check point is in red color? what do u do?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
Define object spy ?