We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have a textfield which we tap on in our cucumber functional test step and so keypad shows up.
we take screenshot after every step (int the after step hook) using this line:
frankly_screenshot("#{screenshot_file}”)
But when we have a number keyboard shown on tapping the textfield, above line crashes the app.
Screenshots works fine with all other cucumber steps , only it crashes at cases where we have number keyboard shown due to tap on text field.
Sample code:
AfterStep do |scenario| def self.take_screenshot(file_name = "img") time = Time.now.strftime("%F_%H-%M-%S") screenshot_file = "Screenshots/" + "#{file_name}-#{time}.png" frankly_screenshot("#{screenshot_file}") screenshot_file end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have a textfield which we tap on in our cucumber functional test step and so keypad shows up.
we take screenshot after every step (int the after step hook) using this line:
frankly_screenshot("#{screenshot_file}”)
But when we have a number keyboard shown on tapping the textfield, above line crashes the app.
Screenshots works fine with all other cucumber steps , only it crashes at cases where we have number keyboard shown due to tap on text field.
Sample code:
AfterStep do |scenario|
def self.take_screenshot(file_name = "img")
time = Time.now.strftime("%F_%H-%M-%S")
screenshot_file = "Screenshots/" + "#{file_name}-#{time}.png"
frankly_screenshot("#{screenshot_file}")
screenshot_file
end
The text was updated successfully, but these errors were encountered: