This is a migrated thread and some comments may be shown as answers.

How can I create my own Pages and Elements with relationship?

6 Answers 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Akhilkumar Patel
Top achievements
Rank 1
Akhilkumar Patel asked on 09 Jan 2011, 10:37 AM
Hi,

I am evaluating WebUI Test Studio and currently have recorded one scenarion, now I want to do some minor modifications into steps using few more controls and for that I have idea about how to create element for WebUI but I am unable to find the facility to add new element.

I think it is very much required for maintanance and it will be easier to modify some element locators manually instead or re-record etc.

So please guide me that how can I add my own element in elements list and same way my own page is same hierarcy?

Thanks,
Akhilkumar Patel

6 Answers, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 10 Jan 2011, 04:34 PM
Hello Akhilkumar,
   Thank you for choosing to evalute WebUI Test Studio!
Elements are added to the Explorer automatically when you use them while recording a test. The only way to manually add Elements to the Elements Explorer is also from the Recorder. Highlight an element and bring up the pop-up menu. From there click on "Add To Project Elements" (see screenshot 1) - this will add the Element to the Elements Explorer.

 I get the feeling this is not what you have in mind but there's no other way to do it. You can manually write logic to get elements in a Coded Step but there's no way you can add the elements to our Elements Explorer if that's what you're after.

However, keep in mind that you can change the Find Logic the elements in the Explorer use.

Please don't hesitate to contact us again if you have more questions!

Kind regards,
Stoich
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Akhilkumar Patel
Top achievements
Rank 1
answered on 11 Jan 2011, 05:30 AM
Hello Stoich,

Thanks for this information and yes I have used "Add to Project element" option multiple times. But to do that I have to reach at that page and then I can add the element.

But this process will required some more time even I know the element characteristics and in that case it would be very easy and quick step to add one element manually and use same in coding.

Still I am very happy with WebUI Test Studio capabilities and it is very good tool for automation and I am sure if manual Page / Element creation is not supported then there will be technical reason in points of usability.

-Akhilkumar Patel
0
Stoich
Telerik team
answered on 11 Jan 2011, 05:27 PM
Hi Akhilkumar,
     I'll go ahead and log this as a feature request:
104865: FR> You should be able to manully add elements to the Elements Explorer for WebUI's GUI
We'll discuss it with your developers - I agree that it sounds like a good idea.

Please don't hesitate to contact us again if you have any more questions!

Kind regards,
Stoich
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Akhilkumar Patel
Top achievements
Rank 1
answered on 12 Jan 2011, 05:02 AM
Hi Stoich,

Thanks for considering this request as feature request and I will wait for developers approval. Also, I hope that definately it would be very helpful to webUI Test Studio users.

Regards,
Akhilkumar Patel
0
Shane
Top achievements
Rank 1
answered on 11 Jul 2012, 06:21 PM
Hi,

I am having an issue whereby I am trying to grab a progress bar to enable me to wait for the progress bar to finish before moving on to my next step, however the progress bar disappears before the element explorer has a chance to locate it.  I was wondering if the manual adding of elements the repository ever got implemented as I know the identifying attributes of the progress bar?

Thanks
Shane
0
Anthony
Telerik team
answered on 13 Jul 2012, 06:23 PM
Hello Shane,

No, that feature was not implemented. You have a few options to add the progress bar:
  • Use Freeze Mode.
  • Locate the element in the DOM Explorer, right click to load the Elements Menu, and add it there.
  • Identify it entirely in code. This process differs between HTML and Silverlight/WPF elements. The drawback here is that the element won't get added to the Elements Explorer and you must act on it in code as well.

Regards,
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Akhilkumar Patel
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Akhilkumar Patel
Top achievements
Rank 1
Shane
Top achievements
Rank 1
Anthony
Telerik team
Share this question
or