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

How to Set values for Combo box,Date time controls,Number Controls.

1 Answer 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jayavel
Top achievements
Rank 1
Jayavel asked on 03 Oct 2014, 01:09 PM
How to Set values for Combo box,Date time controls,Number Controls.

Scenario is:
                 Assume in my web page there are combo boxes,date/time pickers,number controls.Here,I have to set the values into combo boxes,date/time pickers,number controls. I am using Test Studio Project and hope to implement code in the ''New Coded Step'' area. Please guide through code, how to SET values to following fields. I do not need a Enumeration examples.
               I have done for Text-boxes,check-boxes like :

               //Set text from the excel to text box.
              HtmlInputText firstname= Manager.ActiveBrowser.Find.ById<HtmlInputText>("txtfirstname");
              firstname.Text = "telerik";

Here,I want to do like this for combo box,date/time pickers,number control. ,So,Please,Help me out :

With this,I have attached a snapshot of combo  box , date/time pickers,number control.I hope,i will get a positive reply soon from you guys.




1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 08 Oct 2014, 10:01 AM
Hello Jayavel,

I can see that you have valid Test Studio trial and you can accomplish this using the Test Studio recorder. Is there any particular reason that you need to proceed with coded solution?

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Jayavel
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or