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 review
Is it possible to change the extension of Shared object repository?
What is the difference between QTP 8.2 object repository and QTP 9.2 object repository Any body have an please give Answer Mail id: nagireddy.sn@gmail.com
in order to start automation testing what we should require (entry level to automation testing)
According to use, how virtual object is different from object spy? If Qtp is not learning a sub-menues. What should we done? how would we manage on the expert view too? alkaa.dugaal@gmail.com
breef description of batch testing ?
Is it possible to call from one action to another action in qtp?
what is the code in QTP to take screen shot?
How to get the column count and column name from the resultset in the database connection program?
How can we redirect QTP results in to a excel sheet after the execution
Hey friends i m facing a problem when i m running my script in qtp it waits for about 5-10 secs before starting execution why it is so can any one solve my problem .Previously it was running fine
what is On Error Resume Next ?