By using the ATF i want to click a model button of OK in problem form

kranthi2
Tera Expert

Hi,

By using the ATF i want to click a model button of OK in problem form as mentioned in the below screenshot:

kranthi2_0-1746492497455.png

If i click the Fix button then this pop up is displaying please help me out which ATF test step can i use to click on OK

 

Thanks

 

16 REPLIES 16

I have used the Set field values step which is working fine. But still i want to click on OK button so that it will move the status to Fix is in progress then it will move to the further steps 

 

Thanks

@kranthi2 

so try with the different buttons you see in the Retrieved components list

it should be one of those.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

Sure, let me try with other buttons as well.

Still i have a question Do we have any specific which needs to be Set

 

Thanks

 

Thanks,

@kranthi2 

you need to check 1 by 1 each button and see which one works

Even if it works this time, it doesn't guarantee it will work in future upgrades as that modal is OOTB and may change if ServiceNow adds something to it.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Got, it. do we have any alternative for this kind of requirement.

Because every time upgrade or patching is happened then i need to run all the ATF tests which are created.

Not only my self my users are also going to run those ATF's, in this case which is the best solution i can provide to my client.

 

Awaiting for your response.

 

Thanks