| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is meant by Pseudo Code? | Satyam | 5 |
| What is the another extention name of library file.If that
is exist than what's the differnce between them. | Synechron | 1 |
| what is the extension for the test version of the script? | TCS | 4 |
| Hi Everybody,
Can anybody please tell me the how to display the result of
the QTP in the notepad text file rather than in the QTP
result window.
Suppose this is my simple script:WHich will open the
notepad file and enter some text and then will change the
font then will calculate how much time has been taken.Now,
in this script i want to display the result in notepad file.
Dim s
Dim starttimer,endtimer,timeit
s="uyetuywqtywqte"
SystemUtil.Run "notepad","","Y:\",""
Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" +
micCtrlUp
Window("Notepad").Dialog("Save As").WinEdit("File
name:").Set "test1"
Window("Notepad").Dialog("Save As").WinEdit("File
name:").Type micReturn
Window("Notepad_3").Type s
Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s"
+ micCtrlUp
starttimer=timer
Window("Notepad_3").WinMenu("Menu").Select "Format;Font..."
Window("Notepad_3").Dialog("Font").WinEdit
("Font:").Type "cou" + micDwn
Window("Notepad_3").Dialog("Font").WinComboBox
("Font:").Select "Courier"
Window("Notepad_3").Dialog("Font").WinEdit
("Font:").Set "Courier"
Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type
micReturn
endtimer=timer
timeit=endtimer-starttimer
print(timeit)
Please also tell me where the function for the text file
result will be declared and where it should be called.
Thanks,
Gaytri
| | 2 |
| It is a SQL question. Write a query to find top three
salaries in an EMP TABLE? | | 5 |
| HI ALL,
HOW WE INSTALL .NET ADD-IN OR JAVA ADD-IN TO THE QTP?
PLZ URGENT.ANSWER ME. | | 2 |
| Which function is used to accesses the Properties from
Repository
Pls anybody can give the answer.. Thanks in advance... | Navis | 2 |
| what is the framework followed by ur company in qtp | Ordain-Solutions | 4 |
| how to identify the user defind varibles? plz tell me | | 1 |
| Hi,
I have weblist which contains the data like Design
change,admin edit and cost saving etc.. User doesn't know
the values existed in weblist. Now the user has to select
the right value from the list otherwise the test will fail.
Pls help me "To select the correct value from the list" | | 1 |
| I want to create Excel object on another machine which is
in network i written the code "Set se=createobject
("Excel.Application","\\ankur")"here \\ankur is the name of
that machine but i m getting the error of permission denied
create object can anybody help me | | 1 |
| Why VB scripts are used in QTP and TSL in Winrunner, is
there any advantage of using VB Scripts | | 2 |
| What is keyword view and Expert view in QTP? | Ordain-Solutions | 5 |
| Hi Friends, If you got one Bug , and you are insert that
bug in bug tracking tool , and you need to attach SC's
(screen shots) also. how to tae SC's , in your organization
any separate tools available to take SC's. please provide
Ans. its urgent...
Thanx in advance | | 3 |
| How to pass a variable in Dos Command using QTP?
Eg:
Dim path1, path2
path1 = "C:\Test\sample1.doc"
path2 = "C:\Test\sample2.doc"
How can we pass these path1 and path2 inside the "copy" dos
command?
I tried like this. this is not working.
oShell.run "cmd /K copy" &path1 &path2
| | 1 |
| can u store QTp frame work folders in VSS? If Not where u
store those? | | 1 |
| I am using descriptive programming for my project.when QTP
deosn't identity or recognize a object by record and
playback method,is it possible to make QTP identify that
object using descriptive programming?
Note: The object doesn't have unique properties and same
properties used in Record and playback are only available,
no extra properties are defined.
| | 1 |
| 3.How to record a word doc using qtp i.e open a word
doc,type something and save the doc can someone send me the
code.
| | 2 |
| what is the syntax for regular expression in QTP?
how to create user defined functions in QTP? | MBT | 4 |
| How to check the URL using Automation tool QTP | | 2 |
| |
| For more QTP Interview Questions Click Here |