Visualforce Table

For Visualforce Page Table & Columns mapping, simply right click on a Table fields for mapping and choose Add to Test.

  1. It will create a New Page object for Visulforce Page table object as it’s not a standard salesforce object.
  2. It will create a new table name value.
  3. It will create a Visualforce field Locator.
  4. It will Map Object field Name value.

It will create a Page object as below under Main folder (Project folder)>>src>>page objects

Java Source


Value Passing as a variable.

Add a variable at the beginning of the script to select a Product.

Use the product variable to set the value.