--
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 view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8169de51-cd35-4998-820b-456d73bf3548%40googlegroups.com.
package SanityCases.tests;
import SanityCases.pages.a_PublicPages.PublicPage;
import SanityCases.pages.b_PatientLogin.CustomerLoginPage;
import org.junit.Test;
public class test
{
@Test
public void testforlogo()
{
new PublicPage()
.openPage().clickOnPatient().clickRememberMe()
}
}
package SanityCases.pages.b_PatientLogin;
import org.junit.jupiter.api.Assertions;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import static SanityCases.drivers.MyChromeDriver.getChromeDriver;
public class CustomerLoginPage extends PageFactory
{
private static final String URL = "https://rashmi.qa1.snapvcm.com/#/patient";
@FindBy(xpath = "//*[text()='Email Address']")
private WebElement textEmailAddress;
@FindBy (xpath = "//*[@id='loginBoxContainer']/div/div/div[1]/div[1]")
WebElement logo;
@FindBy (id = "remember")
private WebElement rememberMe;
public CustomerLoginPage()
{
initElements(getChromeDriver(), this);
openPage();
WebDriverWait waitLoginPageChrome = new WebDriverWait(getChromeDriver(), 30);
waitLoginPageChrome.until(ExpectedConditions.visibilityOf(textEmailAddress));
Assertions.assertTrue(logo.isDisplayed());
}
public CustomerLoginPage openPage()
{
getChromeDriver().get(URL);
return this;
}
public CustomerLoginPage clickRememberMe() {
rememberMe.click();
return this;
}
}
Where am i stuck at?? ---> we need to use selenium itself for my requirement ( i did suggest jMeter but dev team wants to execute cases in UI so that they can get SignalR errors in UI which we cant get when we run via jMeter)
Hope i m clear this time
What have you done so far to solving this problem ?What does your code look like?Where are you stuck and need help ?Merely citing the requirement and prefixing the mail subject with URGENT is not going to help you a lot. What is urgent to you, isn't necessarily urgent to others.So please help us, help you by being more specific with your question.Your requirement looks to be more performance centric. Have you considered other tools such as JMeter (or) maybe Gatling for e.g., ?Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/My Technical Scribblings @ https://rationaleemotions.com/
On Fri, Mar 27, 2020 at 11:10 AM Rashmi Upari <upari...@gmail.com> wrote:
Hello All,--Our requirement is to hit a login page and enter login details. This should be done for multiple users at same time.user login details should be parameterised but main requirement is 100s of users should login at same time.Can anyone please let me know how we can do it in Selenium using IntelliJits urgent!!Thanks
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 seleniu...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/c2231708-8284-4294-86f0-25adb367d81a%40googlegroups.com.
Rashmi,Thanks for adding additional context.>>>>> i did suggest jMeter but dev team wants to execute cases in UI so that they can get SignalR errors in UI which we cant get when we run via jMeter)You could try JMeter Selenium integration if you would like to specifically run UI tests to capture JS connection errors no ?Have you considered exploring something like this: https://www.blazemeter.com/blog/jmeter-webdriver-sampler/You won't be able to scale up your solution beyond say 10 or 15 sessions on a given machine ( I have seen Chrome behaving erratically once you cross 15 concurrent sessions on a given machine).So you would need to start looking at the Grid (which basically means that you now need additional machines, need to setup an entire Grid infrastructure etc.,)Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/My Technical Scribblings @ https://rationaleemotions.com/
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/c2231708-8284-4294-86f0-25adb367d81a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLm%2BP62diKzb51YYYkYnuHNu3xsrXxiu2ArH-KS0ApxM%2BQ%40mail.gmail.com.