01-29-2014 09:12 AM
1. The business process can be illustrated by this example:
I am working in the marketing department and I want our client care representative to say to our customers: "Thanks for calling our help line, what can I assist you with today?". This has to be translated in 10 languages. Once I have updated the content item in the HP TeamSite web application's web form, I publish this content item. HP TeamSite copies the content update onto new or existing language versions of the content and updates the status of each of these items in the user interface's widget to show all stakeholders the updated status. The translator then takes on translation for each of the languages and approves. Then, a validator validates the work and passes the workflow job onto a final business approver. After the approver finalizes the work, the asset is being copied across to be picked up by an application that renders the phrases into the interview scripts that the client care rep uses in a phone conversation with the customer.
I am using LR11.52 for windows to support performance analysis of the workflows.
I have the following question:
I have developed a script which runs fine in the Developer GUI. When I replay in the VuGen client a step fails with the message:
Ending action Action.
The target object is found fine in the Developer UI when I play the script.
In the step I use in the object: xpath and the xpath is //a[text()="Next >>"]
The HTML in the UI is:
I attached the screenshot and the script
I updated the xpath to //a[contains(text(),"Next")] as I found in the HTML the >> are encoded into >> which I thought might be the problem. But the error still occurs.
What can be the possible reason?
Solved! Go to Solution.
01-30-2014 02:25 AM
steps that I have taken to try to resolve this yesterday have been:
a. I have the HP LoadRunner v11 00 - Ajax TruClient Tips and Tricks.pdf and read through it.
b. I applied Related objects and in the Dev UI the script passes, still in the vugen Replay (F5) fails on the Next >> object
c. I have re-recorded the step several times with no difference
e. I have clicked the Improve object identification button several times
f. I have put a wait for object in place, but then the script would fail on Replay (F5) in vugen (not in the Developer UI) on that step instead
g. I have set a timeout of 10 seconds on the step before and same step
h. I have set snapshot functionality in the Runtime settings and found a snapshot of the step where I see the Next button highlighted.
I am running out of ideas (-: I thing that might be the underlying problem is that the window that this step usually is a popup that replaces the window in the preceding step. Maybe there is a context switch?
02-03-2014 01:43 PM
I found in some more debugging in Loadrunner that I can see HTTP responses and I found that there is an error message popping up in the HTTP requests when playing the script from the windows VuGen console, while that error is not popping up when replaying in the TruClient Firefox browser client.
02-11-2014 08:14 AM