Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Select the project in which you want to map the action.

  2. Go to Develop> Custom Actions.

  3. Click Add to add a new Custom Action.

  4. Select Base Class as WebGeneral.

  5. Edit the Custom Object Class by entering the values in Custom Object Class and Qualitia Class as SFDC_Standard_Function.

  6. Enter the value in Action Name, Description and Function Name as label_Based_standard_input_operation.

  7. Add the following three parameters:

    1. LabelName along with ArgDataType as String and select the Mandatory checkbox.

    2. LabelValue along with ArgDataType as String and select the Mandatory checkbox.

    3. TypeOfOpeartion TypeOfOperation along with ArgDataType as String and select the Mandatory checkbox.

  8. Click Save & Launch Eclipse to save these values and launch the Eclipse.

  9. After the Eclipse launches, click Import Projects. The Import dialog box opens.

  10. Under General folder, select Existing Projects into Workspace, and then click Next.

  11. Select QAS Workspace from your Project Path, and then click Finish.

    Eclipse creates a class as SFDC_Standard_Function.

  12. Copy your Java code and paste to that class. Action file will be provided through an email.

  13. Create a class as WaitMethod in Eclipse, and paste your WaitMethod Java code.

  14. Save and close Eclipse.

  15. Go to Develop>Test Case to open a new test case.

  16. Verify under Action drop-down whether it is displaying label_Based_standard_input_operation.

...

This action identifies the UI objects based on their label names. As long as the object is present objects are displayed on the screen and displayed, it will be identified , action identifies them irrespective of the DOM structure.
The action handles the following six different types of objects:

...

The action can be used to cover the following scenarios:

...