How to type a first letter should start @ Upper case using Selenium RC

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to type a first letter should start @ Upper case using Selenium RC

Yuva
Hi all,

How to type  a letter in text box like Welcome123 (First Letter should start @ Upper case) using Selenium RC

Please help me here

Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/3c84fa76-bf58-46d9-b864-f3c4b2c5ef2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to type a first letter should start @ Upper case using Selenium RC

Afzal
Hi,

This is nothing to do with Selenium RC... In Java you can use as below


"welcome123".substring(0, 1).toUpperCase()+"welcome123".substring(1, "welcome123".length())


*** Here "Welcome" to be stored in String object and use rest as it.


Regards,

Afzal

https://www.linkedin.com/in/afzals/



On Sunday, June 18, 2017 at 9:49:25 AM UTC+5:30, Yuva wrote:
Hi all,

How to type  a letter in text box like Welcome123 (First Letter should start @ Upper case) using Selenium RC

Please help me here

Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/19c58be3-be38-4a72-994a-28d567044d03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.