Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ATFでのテスト実行時のスクリーンショット採取について

Suyong
Giga Expert


プロパティを設定して、ATF実行時のスクリーンショットを「サイズ指定」で採取しようとしているのですが
全て「full page」で採取されてしまいます
※プロパティ設定値は、添付ファイルを参照ください

ATF実行時のスクリーンショットが「サイズ指定」で採取できない原因と、解決方法をご教示願います

#ATF



 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Suyong 

by default it takes screenshot of the visible page

you can adjust the height and width using these properties

How to capture full length/complete snapshot in ATF 

"sn_atf.atf_test_runner.testframe.min_width" and "sn_atf.atf_test_runner.testframe.min_height"

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

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@Suyong 

by default it takes screenshot of the visible page

you can adjust the height and width using these properties

How to capture full length/complete snapshot in ATF 

"sn_atf.atf_test_runner.testframe.min_width" and "sn_atf.atf_test_runner.testframe.min_height"

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