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

27 views
Skip to first unread message

Yuva

unread,
Jun 18, 2017, 12:19:25 AM6/18/17
to Selenium Users
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

Afzal

unread,
Jun 19, 2017, 1:39:56 AM6/19/17
to Selenium Users
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/


Reply all
Reply to author
Forward
0 new messages