# Comparing Test Artifacts

## Why we compare our Test artifact?

In Avo Assure, comparing test artifacts helps ensure that the test artifacts in Avo Assure and the Bitbucket repository remain in sync. By comparing, it is possible to:

* Identify differences between test artifacts in Avo Assure and Bitbucket.
* Detect mismatches between test artifacts stored in Avo Assure and those available in Bitbucket.
* Verify whether the latest updates are pushed to Bitbucket or need to be pulled back into Avo Assure.

### **Comparing Current Test Artifacts with Bitbucket Data**

In Avo Assure, versioning in Bitbucket is available for the following test artifacts. You can compare the data from the Bitbucket repository with the current test artifacts in Avo Assure:

* Element Repository
* Test Case
* Execution List

{% hint style="info" %}
**Note**: The steps below remain the same for all artifacts. You only need to navigate to the respective artifact page.
{% endhint %}

To compare the Test case with a pushed Test case, perform the following actions:

1. On the **Pull Test Cases** dialog, select a **Branch** from the dropdown, and then select the required folder.

{% hint style="info" %}
**Note**: To compare test artifacts during the push process to Bitbucket, select **Push** instead of **Pull**.
{% endhint %}

2. Select **Compare** button to compare the previous pushed Test case with current Test case.

<figure><img src="/files/A0yVRf5E0vTw6V3Plk6H" alt=""><figcaption></figcaption></figure>

The right-side table displays the previously pushed Test cases, and the left-side table displays the current Test case.

{% hint style="info" %}
On the right-side of the table, a column named **Differences** shows any modifications made or any Test case removed from the folder.
{% endhint %}

<figure><img src="/files/yfoBCF732kmGZlMSYdMe" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/integrations-in-avo-assure/versioning/bitbucket/setting-up-bitbucket-in-avo-assure/comparing-test-artifacts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
