|Re: SWTBot Recorder is not absolute [message #1690274 is a reply to message #1660726]
||Thu, 26 March 2015 09:46
| Jeevan Rex
Registered: March 2015
I got a reply for this via email, which I sent to swtbot dev team. From mistria@______.com|
// I choose the location of my .csv file which is also not recorded in this.
Is there a way to mention which row and which column of the table I am dealing with now?
The recorder doesn't have rules to deal correctly with tables yet. Please open a bug to request it, with the expected output in that case, and consider contributing the necessary rule. (see http :// git.eclipse.org/c/swtbot/org.eclipse.swtbot.git/tree/org.eclipse.swtbot.generator/src/org/eclipse/swtbot/generator/framework/rules/simple/ExpandTreeItemRule.java as an example): https :// wiki.eclipse.org/SWTBot/Contributing
2. I have a SashForm with two Composite. Each Composite contain a grid of almost the same data and same button names. When I try to run SWTBot Recorder and try to click on the Grids, it is not saying which Grid which I am dealing with now. The following is the code which produced.
Is it possible with SWTBot to find which Composite I am dealing with?
This SashForm exist inside a tab, just like "Package Explorer", for example. How does SWTBot identify which tab is it now dealing with.
It may also be a limitation or a missing rule. What code would you expect the generator to create (relying on existing SWTBot API) ?
Are the Test produced by SWTBot absolute?
The state of your application when you start recording may affect the code generated. For example, initial selection and active views can make the recorder skip the rules about selection and activation. So those tests are not absolute but more relative to the state of your application when starting to record.
Eclipse developer at JBoss, by Red Hat
[Updated on: Thu, 26 March 2015 15:56] by Moderator
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02726 seconds