PaulKeates
14 years agoOccasional Contributor
HTTP test:Unable to enter data in username / password fields
Hi,
<<I actually documented my issue with screen snapshots so will attach the Word file with that to this ticket. The steps below would make more sense if you look at the Word file. Thanks! Paul>>
I’m trying to automate the first part of one of our applications – the Login screen.
I’ve explored soapUI and can automate simple tasks like entering data into the http://www.google.com site in order to automate the search page, so I think I understand what to do.
The source in http://www.google.com shows the control:
And then this is available in the soapUI tool to send data to using the Properties List and then Properties Transfer objects:
I can then add validations and all is good in my world…
So – now when I try to automate our internal application I have the following situation:
The source is pretty simple.
I want to have soapUI enter the username & password into the fields.
I recorded the login attempt. I added two Assertions – one worked and one does not (I guess because it cannot successfully login).
I create a Properties container and add the appropriate names / values:
I added the Properties Transfer control and add two transfers that (successfully) pull data from the Properties container:
Then I try to connect the Properties Transfer to the web page and cannot see the field in the Property pull-down:
At this point I would expect that the Property pull-down would have at least entries for the username and password fields.
I tried using the widget on the top-right of the screen that ‘Prompts to select the XPATH…’ (see two red arrows) but they either return errors or do not seem to do anything.
I’d like to buy the software (assuming it does allow this situation to work) but cannot seem to get it to work.
Help!
Thanks,
Paul
<<I actually documented my issue with screen snapshots so will attach the Word file with that to this ticket. The steps below would make more sense if you look at the Word file. Thanks! Paul>>
I’m trying to automate the first part of one of our applications – the Login screen.
I’ve explored soapUI and can automate simple tasks like entering data into the http://www.google.com site in order to automate the search page, so I think I understand what to do.
The source in http://www.google.com shows the control:
And then this is available in the soapUI tool to send data to using the Properties List and then Properties Transfer objects:
I can then add validations and all is good in my world…
So – now when I try to automate our internal application I have the following situation:
The source is pretty simple.
I want to have soapUI enter the username & password into the fields.
I recorded the login attempt. I added two Assertions – one worked and one does not (I guess because it cannot successfully login).
I create a Properties container and add the appropriate names / values:
I added the Properties Transfer control and add two transfers that (successfully) pull data from the Properties container:
Then I try to connect the Properties Transfer to the web page and cannot see the field in the Property pull-down:
At this point I would expect that the Property pull-down would have at least entries for the username and password fields.
I tried using the widget on the top-right of the screen that ‘Prompts to select the XPATH…’ (see two red arrows) but they either return errors or do not seem to do anything.
I’d like to buy the software (assuming it does allow this situation to work) but cannot seem to get it to work.
Help!
Thanks,
Paul