First I am trying sendKeys
at Selenium IDE Like that
Command waitForElementPresent
Target css=.ace_text-input
Value=
Command sendKeys
Target css=.ace_text-input
Value=<?php echo 'Hello World'; ?>
Command click
Target id=save_changes
Value=
and it is ok at the Selenium IDE.
But I have a problem at Selenium Webdriver
I am writing test for PHP
like the following.
$this->assertTrue($this->isElementPresent("css=.ace_text-input"));
$this->sendKeys("css=.ace_text-input", <?php echo 'Hello World'; ?>
$this->click("id=save_changes");
Webdriver never show me an error but in reality <?php echo 'Hello World'; ?>
value never type in my test. So, I want to type <?php echo 'Hello World'; ?>
at my test. And I am testing Code Editor
name is ace_editor
and it is just acceptable for sendKeys
command. So, Everybody answer welcome to my question.
--
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 selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/bd4c52ff-1118-4a3c-98ed-a7e501a99a31%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.