...
Select the project in which you want to map the action.
Go to Develop> Custom Actions.
Click Add to add a new Custom Action.
Select Base Class as WebGeneral.
Edit the Custom Object Class by entering the values in Custom Object Class and Qualitia Class as SFDC_Standard_Function.
Enter the value in Action Name, Description and Function Name as label_Based_standard_input_operation.
Add the following three parameters:
LabelName along with ArgDataType as String and select the Mandatory checkbox.
LabelValue along with ArgDataType as String and select the Mandatory checkbox.
TypeOfOpeartion TypeOfOperation along with ArgDataType as String and select the Mandatory checkbox.
Click Save & Launch Eclipse to save these values and launch the Eclipse.
After the Eclipse launches, click Import Projects. The Import dialog box opens.
Under General folder, select Existing Projects into Workspace, and then click Next.
Select QAS Workspace from your Project Path, and then click Finish.
Eclipse creates a class as SFDC_Standard_Function.
Copy your Java code and paste to that class. Action file will be provided through an email.
Create a class as WaitMethod in Eclipse, and paste your WaitMethod Java code.
Save and close Eclipse.
Go to Develop>Test Case to open a new test case.
Verify under Action drop-down whether it is displaying label_Based_standard_input_operation.
...