Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Internet Explorer Pop Up ISSue
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,
I was playing back script and faced issue on following statement
The statement was
Code:
Browser("").Dialog("Message from Webpage").Winbutton("Ok").Click
The recording was done on Win 7.
this did not play back successfully on my machine which has WIN XP as Operating System.
When I re Recorded this scenario QTP recorded statement as
Code:
Browser("").Dialog("Windows Internet Explorer").Winbutton("Ok").Click
Can anyone tell me the difference between these two dialogs?
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Did you tried executing the script in Win7 again?
Thanks,
SUpputuri
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
It executes on Win 7 but does not work on Win XP.
When I record the statements generated by QTP are different i.e dialog names
Win 7 Generates ->Browser("").Dialog("Message from Webpage")
Win XP Generates->Browser("").Dialog("Windows Internet Explorer")
Any Idea why I see such difference?
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
Can you quickly compare the registry files for HKEY_CURRENT_USER\Software\Mercury Interactive\Quicktest Professional\MicTest\Test Objects\ which will control the logical names for the objects and see if there are any differences between the 2 machines.
Thanks,
SUpputuri
Reply
#5
Solved: 11 Years, 3 Months, 3 Weeks ago
As you have recorded it will not work in other system but it will be possible if the object repository is exported and imported in other system instead of doing the entire process use descriptive programing in ur cause
Browser("micclass:=Browser").Dialog("text:=.*").Winbutton("text:=Ok").Click
After spying just insert the text value of the dialog in the ".*" place
ur problem is solved
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Scrambled characters in uft Solution Explorer Dwarak Calayampundi 0 1,533 05-25-2016, 05:02 AM
Last Post: Dwarak Calayampundi
  SAP GUI gets hanged while closing the Windows Pop Up kathirvelnagaraj 0 5,527 10-23-2015, 06:47 PM
Last Post: kathirvelnagaraj
Rolleyes QTP pop up window handling piyush8793 3 16,882 10-15-2015, 11:03 PM
Last Post: Venkateswarluponna
Exclamation Login & logout in Siebel and clicking pop-up button yuetling926 7 11,335 07-09-2014, 10:43 PM
Last Post: hhamilton
  Internet Explorer has stopped working - UFT 12 and IE 11 rachana 1 7,688 06-13-2014, 03:30 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)