| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 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 |
| is qtp 9.2 create the scripts with the application run on
mozilla firefox browser? | | 2 |
| can u tell me the the cost of automation tool QTP
? | | 2 |
| Does we use Classes and methods in realtime..?How wud we
access methods in a class..?Thanq Guys..! | | 1 |
| what is difference between normal mode and fast mode? | | 1 |
| how we will use output values in qtp? is there any
possibulity by descriptive programming? | | 2 |
| where exactly we can't do the automation testing. give some examples | Wipro | 2 |
| i this is balaji from chennai i have 4 yrs exp in testing
and my qualification is bsc computers i completed in
correspondace in which companiies accept the correspondace
plz let me know | | 1 |
| We have an application which generates links( more than
thousand) based on the time stamp dynmically.Each link will
download an xls file. we are supposed to click a particular
link (which link to click will be obtained thru some
buisiness logic).Now the issue is QTP is not recogniging
the link(say Var1) though its properties showed mandatory
fields text=xyz and html tag=A.I used following code to do
this.
Browser("ABC").Page("123").Link("text:=" &Var1,"html
tag:=A").click, can any one suggest why this is not
recognised by QTP though syntax is correct?(Is there any
sync issue to be considered?Because on clicking the link it
will take 5 mins to open that file) | | 1 |
| give one example where you have used regular expression? | Ordain-Solutions | 5 |
| In QTP 8.2 there are lot of check points is this same in
latest version QTP 9.5 ? | | 1 |
| In QTP, As a first step wht we will do before going to
start a Automation....when it will be decided that we have
to go for a Automatio..and who will decide to go for
Automation. Any body can pls let me know..
Thanks in Advance..
| US-Technology | 1 |
| QTP 9.2, Issue: Creating Shared Object repository.
I recorded 2 scripts. I exported the Object Repository to a
shared location for the first script. Associated the
exported repository to the first script and deleted the
Local Repository for the First Script. Now Opened the
Second script and try to Add the Local Object Repository of
2nd Script to Exported Object Repository. But I fail. Can
anyone please help in providing steps that need to be
followed in creating a shared object repository? Thanks in
Advance. | UHG | 2 |
|
What are the QTP advantages and disadvantages?
| | 4 |
| how to change the properties of object during run time . plz
give the code using flight reservation | | 1 |
| What is the difference between property and method? | | 1 |
| actuall wat my doubt is:while doin regression testin we
enter all +ve & -ve data....system has to accept +ve and
reject -ve data.in such case we get a popup window sayin
that wrong entry...now i wan to overcome this popup
window..how do i go further....plz explain.i tried thru
rec.scenario but of no use. | | 1 |
| how will check the links in multiple pages at a time | | 1 |
| Hi,
i am mallishwari,
i am veryn ew to testing but i have very much interest in
testing.
plse give me some guidence to get the job in testing.
send me required documents and faqs to
my personal id:
mallishwari_urs@yahoo.co.in
thans for advance. | | 2 |
| Hi all,
can anyone tell me the challenges u faced while using qtp? | | 1 |
| |
| For more QTP Interview Questions Click Here |