on ‎2016 Oct 05 9:52 PM
Hello Experts,
I am facing issue while capturing error message which is in window 2. You can see below screen shot for your reference.
I got the code as follows " Session.FindById("wnd[2]").Text " Which is juts giving Text as "error". I need complete Error message to be captured.
I even tried to use session.findById("wnd[2]/tbar[0]/btn[0]").text which results in capturing empty.
Can some one help me by providing this single line code for capturing second window message.
Thanks
Jim
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hello Jim Jim,
I don't know the exact ID of your error message text, in my example is it
/wnd[2]/usr/txtMESSTXT1
To get your exact ID use Scripting Tracker.
Cheers
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.