Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog Box opens in run mode.
#1
Not Solved
Hi,
I got a solution for my previous thread "Object is disabled", I enabled the object using wait(5) command before click statement in the Expertview code.
Rightnow I am getting a different issue.
While I am running I am getting windows dialog box- "please enter city".
This dialog box is coming the following situation
1.Some times the values are coming from the datatable and it is suddenly disappears-At that time I am getting this dialog box,but there is no error
So I need to click ok.But that didn't come while I am recording.
Is it normal?
Thanks
Uma
Reply
#2
Not Solved
Quote:.Some times the values are coming from the datatable and it is suddenly disappears-At that time I am getting this dialog box,but there is no error
So I need to click ok.But that didn't come while I am recording

Since you are not sure when that dialog box pops up, just add that dialog into object repos and handle it in the script as
Code:
if dialog("dlgName").Exist(1)
'handle it like pressing ok button inside  it
end if
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 583 11-05-2023, 03:55 PM
Last Post: lravi4u
  How do you Change Run mode mid script? Caleytown 6 7,194 03-25-2021, 08:27 AM
Last Post: RB26578
  Automating save dialog box in windows using UFT shipu 0 4,782 01-16-2015, 07:54 PM
Last Post: shipu
  How to mask the particular read only mode fields while capturing screenshot in QTP kalaivanan123 2 3,524 03-18-2014, 11:31 AM
Last Post: basanth27
  QTP 11 - Chrome 24. Dialog box is identifying as Win object. Kannan R 0 3,090 08-13-2013, 08:10 PM
Last Post: Kannan R

Forum Jump:


Users browsing this thread: 1 Guest(s)