How to debug a recorded step in detail with TruClient - specifically setting a file for upload
- Navigate to www.mywebsite.com
- Click on "Click here to browse" [this opens the browsers file dialog, I navigate and select my file]
- Set c:\temp\myfile.xls on filebox (1) filebox
The initial problem I have is that after the browsers dialog is open it cannot be closed - I've been searching around for this and can't find a way to close the dialog, I've emailed our technical liason manager at HP and received no help.
The next step from the recording "Set .... on filebox(1) filebox" works, so the file get's uploaded. - success!
My thoughts are that I should disable the "Click to browse step" and just keep the "Set c:\temp\myfile.xls on filebox (1) file box." If I isolate that step and reply, it keeps uploading, however if I refresh the screen, then run the step it fails, it doesn't seem to be able to find the correct object again.
So I am stuck because I don't know exactly how it is identifying the item successfully the first time and subsequent time single step replays and then failing if I run that step again after a browser refresh.
I've tried using the descriptors with classes, Id's on the objects I assume it needs but nothing seems to work - UNLESS I replay the script and include the "Click here to Browse".
Re: How to debug a recorded step in detail with TruClient - specifically setting a file for upload
There is no generic workaround for that, otherwise it would have been productized by now.
I suggest contacting HPE support team to get help