ATF - Hung on Submit a Form (SP)

Steve42
Tera Expert

I have a Test I'm trying to create that simply impersonates a user, then opens a Catalog Item and submits the form.

All is working fine up until I get to Submit a Form(SP) then it hangs.  I think I'm doing everything correctly by selecting

Here is a screen shot of the Steps
find_real_file.pngThe results I'm getting are as follows (It just sits there). 


find_real_file.png

II have to cancel the process because it never completes but can manually do the test with no problems at all.

1 ACCEPTED SOLUTION

Steve, have you tried setting the timeout on the submit test step to something like 10 seconds? I ran into an issue where the submit step was failing because it timed out after 0 seconds. You may need to configure the form layout to edit it.

View solution in original post

12 REPLIES 12

Hi Steve and Gary,

Steve - thanks for the article!

Gary - thanks for tip 'Try using the 'Order a Catalog Item (SP)' step' !!

- I was doing exactly the same and originally using the 'Submit a form (SP)' step in my ATF and the test sits at 75% and just hangs and I had to cancel it every time. 

- As soon as I changed it to what Gary mentions it worked first time! 

I can now carry on with my day 🙂 

Have a good one!

Ben

siva_
Giga Guru

The variables which you are filling manually are the same when you are filling with automation. And did you impersonate with the same user and tried if the issue donot exist

 

Thanks,

Siva

Everything on the Catalog item is prefilled in with the users information,  basically they just need to open the catalog item and submit for approval (Form is the second screenshot and fields are autopopulated based on the user that is accessing the form.

 

I have (with the help of Gary above to use the Order a Catalog Item(SP) instead of Submit a form(sp) and was able to get around the failure but the form submits and I get the following failure notification

 

FAILURE: Validations failed.  Failed to Order Item.

Test fails.