WebDriver Exception on inputing data into textField | Selenium Forum
M
Posted on 12/07/2016
Sir,

Am using ChromeDriver..
There's a link>i click it> opens a screen[Not child window]
This screen has a frame>i switch to the frame
Click a header>some fields are available.
i Enter [b:3kv9ootf]chaitra[/b:3kv9ootf] into[b:3kv9ootf] text field[/b:3kv9ootf]


[b:3kv9ootf]i get WebElement Exception:[/b:3kv9ootf]
SETTEXTC----Name_MVU7222----xpath----CHAITRA8

Exception thrown in the KeyWord: org.openqa.selenium.WebDriverException: unknown error: cannot focus element
(Session info: chrome=51.0.2704.103)
(Driver info: chromedriver=2.19.346078 (6f1f0cde889532d48ce8242342d0b84f94b114a1),platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 107 milliseconds
Build info: version: '2.47.1', revision: '411b314', time: '2015-07-30 02:56:46'
System info: host: 'LWS601049', ip: '10.167.2.40', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_79'
Session ID: 813bb8d49087bfce699fa4321bb7f5af
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{platform=XP, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=C:\Users\KIBS300\AppData\Local\Temp\scoped_dir1044_8951}, rotatable=false, locationContextEnabled=true, mobileEmulationEnabled=false, version=51.0.2704.103, takesHeapSnapshot=true, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, webStorageEnabled=true, nativeEvents=true, hasTouchScreen=false, applicationCacheEnabled=false, takesScreenshot=true}]
2016.07.12.18.19.04
2016_07_12_18_19_04

[b:3kv9ootf]Sir, pls provide your inputs to resolve this..[/b:3kv9ootf]

M
Replied on 12/07/2016

Sir,

Tried clicking into textbox & then entering data into textbox.....>[b:1vtt4z3r]Still same issue sir...[/b:1vtt4z3r]

Updated to latest chromeDriver 2.2------>[b:1vtt4z3r]Still same issue sir...[/b:1vtt4z3r]

Please provide ur inputs sir...Am struck Responsive image


M
Replied on 12/07/2016

Issue resolved sir...