You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the old Selenium IDE, I set up Suite that had multiple Cases for each website. What I was trying to achieve was to have 1 x Script that was a Config file that stored (using "Store") a Website specific details e.g. user, password, email, sandbox details. And many more.
And the next Case script in the Suite, it would run and USE that Stored Data (e.g. website, email, password), this would mean that I could have 1 script for testing e.g. 'Adding Products to basket' for which ran off the Stored data in the Config script. This allows me to use the 1 script across multiple Websites without having to copy\create\manage as individual. I'd have 1 that would work across all.
Open - ${website}
So at Checkout it would use the following:
id=email - ${email}
id=password - ${password}
The Issues I had
With Kantu I've come across a few road blocks which prevented me from using my old Selenium IDE scripts and would cause a lot of issues and extra management:
It doesn't allow the data Stored in one Macro to be used in another Macro, e.g. the Config file macro (1), and the 'Add to Basket' macro (2). The temporary data doesn't remain and isn't used across other macros.
On the original Seleniu IDE, it only temporarilly stored as long as the extension (Selenium IDE) was open, when closed all stored data was lost.
In the same Macro, the data isn't Stored after a test completes it's run.
Using an example:
If you run Store then Echo on the same script it works fine. BUT whilst on the same script, if you set the 'Echo' command to 'Execute' it shows as "[error] variable "EMAIL" is not defined".
And I've attached the screenshot of Executing STORE first manually, then ECO second manually.
Can I ask that the Store commands store the Data in the same Macro, and can be used in other macros for Kantu. It's a key part to all of my scripts as it reduces management and replication, it also mitigates the tedious task of updating them all by making it only ONE that needs updating for all site.
Let me know if you need any further information. If it's not possible, it'd be a deal breaker :(
The text was updated successfully, but these errors were encountered:
Thank you for the feedback, and putting it on the todo list.
I appreciate the effort and you guys are doing great, your extension is miles ahead of any other Selenium developments that I've seen.
On the old Selenium IDE, I set up Suite that had multiple Cases for each website. What I was trying to achieve was to have 1 x Script that was a Config file that stored (using "Store") a Website specific details e.g. user, password, email, sandbox details. And many more.
store - http://www.msn.co.uk - website
store - test@test.com - email
store - passwordtest - password
And the next Case script in the Suite, it would run and USE that Stored Data (e.g. website, email, password), this would mean that I could have 1 script for testing e.g. 'Adding Products to basket' for which ran off the Stored data in the Config script. This allows me to use the 1 script across multiple Websites without having to copy\create\manage as individual. I'd have 1 that would work across all.
Open - ${website}
So at Checkout it would use the following:
id=email - ${email}
id=password - ${password}
The Issues I had
With Kantu I've come across a few road blocks which prevented me from using my old Selenium IDE scripts and would cause a lot of issues and extra management:
It doesn't allow the data Stored in one Macro to be used in another Macro, e.g. the Config file macro (1), and the 'Add to Basket' macro (2). The temporary data doesn't remain and isn't used across other macros.
On the original Seleniu IDE, it only temporarilly stored as long as the extension (Selenium IDE) was open, when closed all stored data was lost.
In the same Macro, the data isn't Stored after a test completes it's run.
Using an example:
If you run Store then Echo on the same script it works fine. BUT whilst on the same script, if you set the 'Echo' command to 'Execute' it shows as "[error] variable "EMAIL" is not defined".
Here's the JSON code:
{ "CreationDate": "2018-3-6", "Commands": [ { "Command": "store", "Target": "test@test.com", "Value": "email" }, { "Command": "echo", "Target": "${email}", "Value": "" }, { "Command": "store", "Target": "234wefwef", "Value": "pass" }, { "Command": "echo", "Target": "${pass}", "Value": "" } ] }
And I've attached the screenshot of Executing STORE first manually, then ECO second manually.
Can I ask that the Store commands store the Data in the same Macro, and can be used in other macros for Kantu. It's a key part to all of my scripts as it reduces management and replication, it also mitigates the tedious task of updating them all by making it only ONE that needs updating for all site.
Let me know if you need any further information. If it's not possible, it'd be a deal breaker :(
The text was updated successfully, but these errors were encountered: