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 |
I have 1 to 10 action are there, i want action1 output becomes to action 10 input? pls any can give script for this scenario?
how to automate standalone infopath forms using QTP? (it is not a dotnet or a web form)
how much space occupies in object respository by default?
How do you change Logical Name of the object in test script?
how your doing reporting in your script?
if you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?
Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri
How open an excel sheet in QTP(not a run time )?
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
How to Save your test using QTP?
how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"
10 Answers Aspire, MNC, Omega,
What is the diff between doing parametarisation using Data Driven wizard or manually. when do we go for manual para...and when do we use Data driver wizard..can anybody answer it ..Thanks in advance