error - "FAILURE: Failed to open Catalog Item. Either you don't have access to the Catalog Item or g_form is not defined" While trying to open a Service Catalog item using Automated Test Framework

Priya127
Kilo Explorer

Hi All,

I am  automating service catalog item on cloud management platform using ATF

started with Virtual Server Provision and now stuck with below mentioned issues 

Steps to reproduce :

1) Navigate to the 'Cloud User Portal ' module in the 'Cloud Management' application. 

2) Open "Virtual Server" in the "Cloud Admin Portal" portal --> ref table - cloud_cat_item

3) Set parameter values on the catalog form :

Set Variable Values (SP)Answer the questions on the form as follows:
Managed OS = Yes
and Logical Datacenter =
and Disaster Recovery = Yes
and DR Region =
and Never Expire = Yes
and User Group =
and Application =
and Cloud Account =
and Stack Name =

Expected output - 1) User should be allowed to open a catalog item successfully

                             2) User should be able to select parameters/variables values successfully

Actual output - 1) Getting an error - "FAILURE: Failed to open Catalog Item. Either you don't have access to the Catalog Item or g_form is not defined" 

                        2) On ATF , the dropdowns are not getting populated with the values set against it -- All I see is --none-- as an option

Note - Majorly , if the field - "Logical Datacenter" gets populated rest of the fields value should get auto populate.  

 

9 REPLIES 9

Hi Priya, 

Where exactly you added a 5 sec timer?
Before or after?

Thanks,

Hello Luiz, Good Day!

Sorry for the delay response.

You can add 5 sec timer in the same step. It will works!

Thanks,

Priya

Hello I am still facing the same error.I add 5 sec time on open service Catalog page & also impersonate before this step but still got failed result failed to open Catalog item ....I think I am working on paris upgrade now..can any one help me?

Ashok Murugan
Tera Contributor

Hello,i am still facing the same error even after adding timeout of 5 seconds on 'open a service catalog item(sp) step . any solution provided yet ?

Hi Ashok,

Could you please provide the snapshot of your test steps?

Thanks!