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

27 megtekintés
Ugrás az első olvasatlan üzenetre

Yuva

olvasatlan,
2017. jún. 18. 0:19:252017. 06. 18.
– 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

olvasatlan,
2017. jún. 19. 1:39:562017. 06. 19.
– 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/


Válasz mindenkinek
Válasz a szerzőnek
Továbbítás
0 új üzenet