-
Couldn't load subscription status.
- Fork 1
WIP ‐ Accuracy ‐ Subscription Based
Sai Krishna edited this page Nov 13, 2024
·
7 revisions
-
Example Scenarios
- Scenario 1: Proximity Detection
- Additional scenarios can follow this format...
- Objective: Verify the presence and placement of promotional tags (e.g., "BUY1 GET1") near specific icons.
-
Image Example:
await ai('Verify the restaurant having BUY1 GET1 near Red color heart icon');dbug StarkVision Checking element visibility for locator BUY1 GET1 near Red color heart icon
info StarkVision Element Visible check response {
info StarkVision "conditionSatisfied": false,
info StarkVision "explanation": "While there is a 'BUY1 GET1' offer visible in the image on the Mamagoto restaurant listing, it is not near a red heart icon. The heart icons shown in the image are outlined in white/gray color, not red. Therefore, the specific condition of 'BUY1 GET1 near Red color heart icon' is not satisfied."
info StarkVision }
dbug StarkVision Checking element visibility for locator BUY1 GET1 near Red color heart icon
info StarkVision Element Visible check response {
info StarkVision "conditionSatisfied": true,
info StarkVision "explanation": "Yes, I can see 'BUY1 GET1' text clearly visible near a heart icon in the second restaurant listing (Mamagoto). The text is fully visible and not overlapped with any other elements, appearing as a promotional offer tag on the restaurant's image thumbnail."
info StarkVision }
- Condition Not Satisfied: In this case, StarkVision correctly identifies that the "BUY1 GET1" promotion is visible but not near a red heart icon.
- Condition Satisfied: Alternatively, StarkVision confirms when the "BUY1 GET1" is near the expected icon as specified.
- Objective: Click on the 4rd restaurant with Red color heart icon.
-
Image Example:
await ai('Click on the 4rd restaurant with Red color heart icon');StarkVision Checking element visibility for locator 4rd restaurant with Red color heart icon
info StarkVision Element Visible check response {
info StarkVision "conditionSastified": false,
info StarkVision "explanation": "The image only shows 3 restaurants (Beijing Bites, Mamagoto, and Mainland China) with heart icons. The 4th restaurant appears to be partially cut off at the bottom of the screen and its heart icon is not fully visible."
info StarkVision }
- Objective: Click on the 3rd restaurant with Red color heart icon.
-
Image Example:
await ai('Click on the 3rd restaurant with Red color heart icon');info StarkVision Element Visible check response {
info StarkVision "conditionSastified": true,
info StarkVision "explanation": "Yes, there is a restaurant 'Mainland China' showing '50% OFF UPTO ₹100' offer that appears below the restaurant 'Mamagoto' which has a 'BUY1 GET1' offer. The 50% OFF tag is completely visible in the image and not overlapped with any other element."
info StarkVision }
- Objective: select the restaurant having 50% OFF Upto ₹100 at the bottom
-
Image Example:
await ai('select the restaurant having 50% OFF Upto ₹100 at the bottom');dbug StarkVision Checking element visibility for locator restaurant having 50% OFF Upto ₹100 at the bottom
info StarkVision Element Visible check response {
info StarkVision "conditionSastified": true,
info StarkVision "explanation": "Yes, there is a restaurant 'Mainland China' shown at the bottom portion of the image that has a '50% OFF UPTO ₹100' offer tag clearly visible on its listing card. The offer is completely visible and not overlapped with any other elements."
info StarkVision }
- Objective: Select the Plus icon near Chilli Garlic
-
Image Example:
await ai('Click on Plus icon near Chilli Garlic'); // There are so many Plus icon in this screen and proximity works well.info StarkVision Element Visible check response {
info StarkVision "conditionSastified": true,
info StarkVision "explanation": "Yes, there is a clearly visible plus (+) icon near the 'Chilli Garlic' item in the 'COMPLETE YOUR MEAL' section. The plus icon appears in the top right corner of the Chilli Garlic dish thumbnail and is fully visible, not overlapped by any other elements."
info StarkVision }