The command enables you to capture a screenshot of a part of the device’s screen in a given time and create a new element in zone "runtime" that you can use in later steps of your scripts.
|name||String||Name that will be given to the captured Element|
|X||Integer||First point X|
|Y||Integer||First point Y|
|Width||Integer||Width of the captured area|
|Height||Integer||Height of the captured area|
|Similarity||Integer||Integer number between 80-100. Enables to define the tolerance of changes when searching for the image.|
Designed command for image recognition during runtime.
This can be highly useful when the elements on the screen changes very often or for image comparisons. Once the image is captured, it can be then clicked using click command.
Set Experitest Url
Please make sure you replace <EXPERITEST_URL> with appropriate URL in the code snippet below.
In the following example we capture the Calendar Element.