ATF How to add text comments to a popup window & select the submit button

Dead Blade
Kilo Guru

Hello all, I've searched the community and I cannot find a clear answer on how to add text comments to an ATF testing popup window.  And then select "Submit" on the popup window after comments are added.

Please don't reference this page, it is not helpful.  Form test step: Click Modal Button

 

1 ACCEPTED SOLUTION

sachin_namjoshi
Kilo Patron
Kilo Patron

Below ATF steps should be helpful to you

 

find_real_file.png

 

RRegards,

SSachin

View solution in original post

13 REPLIES 13

Hi Sachin,

 

In my test situation, the "Edit Policy" UI button opens a pop-up window where I must enter the text before clicking the Edit button. I'm following the same technique as you, however in my situation, even after inputting the mandatory text using the 'Set Component Values (Custom UI)' step, the 'Edit' button is not enabled, therefore my test fails at the last stage. Is there any way to accomplish this with ATF?

This is not helpful. When using the test step Set Component Values(Custom UI), the text enters in the text box but it is not registering. The Asterisk marking it as mandatory remains red and causes step failure.

 

Vamshi dhar
Kilo Guru

Hi Dead blade,

I had the same requirement, i searched everywhere but couldn't find a solution for it. With the Click Modal Test Step, we can click on the Ui action(thereafter it opens Dialog box). After that, we can click on ok or cancel button. We can't enter the text in the fields in the Dialog Box.

 

Mark it as Helpful, if it's helpful to you.

 

 

Thanks

Vamshidhar

I am not testing the box.  I need to enter the variable and select ok to complete the test.  Testing the cancel of a record.  When the UI Action cancel is selected on the form, a popup opens.. the user must enter text and select ok to complete the cancel action.

After Clicking "Cancel" Ui action button a popup opens right, in the popup user has to enter comments manually or through ATF Step??

If it's through ATF, there is no Step in ATF which will fulfill your requirement as per my knowledge. I faced lot of issues with this same requiremnt one month back.

 

If this is not your correct requirement, Correct me if iam wrong.

 

 

Thanks

Vamshidhar