Click Settings icon on banner in ATF

Deepika36
Kilo Expert

How to click the Settings icon on the banner using ATF? Is there a test step to configure or scripting can do it? 

I need to change the system language to enable localization. Any help?

find_real_file.png

 

find_real_file.png

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hi Deepika,

I don't think it's possible to test that through ATF, but you could try seeing if you can do it through a custom ui step. 

Generally, we encourage customers to focus on writing tests for things that are specific and custom to their instance rather than oob SN capabilities like the language picker. If you need to run a test in a specific language, I would try using the Create User step to start with and create the user with the language you're looking to test.

View solution in original post

6 REPLIES 6

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hi Deepika,

I don't think it's possible to test that through ATF, but you could try seeing if you can do it through a custom ui step. 

Generally, we encourage customers to focus on writing tests for things that are specific and custom to their instance rather than oob SN capabilities like the language picker. If you need to run a test in a specific language, I would try using the Create User step to start with and create the user with the language you're looking to test.

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Deepika,

you cannot test this using ATF.

Instead you can have this approach:

1) create a user with First Name and Last Name

2) In the next step use Server Side validation script and set the language of the user created from previous step

3) then you can test your further scenarios

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Deepika,

Any update on this?
Can you mark answer as correct, 👍 helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.

Regards
Ankur

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

Yes, this works, i wanted to create a survey in multiple languages. This is an extra test step, but hopefully it works.

Drawback was, there wasn't language pick option in the survey.