How can I troubleshoot and resolve the various issues related to FedEx login?

108    Asked by david_2585 in QA Testing , Asked on May 21, 2024

 I am a logistic manager for a particular company that relies heavily on FedEx to ship its products. Recently, several employees have reported an issue which is related to accessing the FedEx online platform due to login errors such as password reset failures, login errors, etc. How can I troubleshoot and resolve this particular issue? 

 In the context of selenium, here are the steps which you can choose:-

User communication and verification

You should ensure that the employees are using the right login credentials.

You can send a company-wide e-mail with a reminder of the correct login URL.

Password reset assistance

You can assist your users in terms of password resetting if they are experiencing failures. You can guide them through the FedEx password reset process.

Account unlocking

Users can contact fed support to unlock these accounts which are locked after multiple unsuccessful attempts.

Checking FedEx system status

You can visit the FedEx system status page to check if any ongoing outages or maintenance activities can cause login issues.

Automated login system

You can also develop an internal tool for automation of the login process and handle the common issues. This can be done by using Python and Selenium for web automation. Here is the example given below:-

  • From selenium import webdriver
  • From selenium.webdriver.common.keys import Keys
  • From selenium.webdriver.common.by import By
  • From selenium.webdriver.chrome.service import Service
  • From webdriver_manager.chrome import ChromeDriverManager

# Initialize WebDriver
Driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()))
# Open FedEx login page
Driver.get(https://www.fedex.com/login)
# Locate and input username
Username_field = driver.find_element(By.ID, “username”)
Username_field.send_keys(“your_username”)
# Locate and input password
Password_field = driver.find_element(By.ID, “password”)
Password_field.send_keys(“your_password”)
# Submit the login formPassword_field.send_keys(Keys.RETURN)
# Add further automation or checks as needed

API integration

You can integrate FedEx services into your internal systems by using the FedEx APIs. This can reduce dependencies on the FedEx web interface and can streamline operations.

Here is the example given:-

Import requests

# Define FedEx API credentials
API_KEY = ‘your_api_key’
API_PASSWORD = ‘your_api_password’
ACCOUNT_NUMBER = ‘your_account_number’
METER_NUMBER = ‘your_meter_number’
# Define the FedEx API endpoint
url = https://apis-sandbox.fedex.com/oauth/token
# Prepare the request payload
Payload = {
    ‘grant_type’: ‘client_credentials’,
    ‘client_id’: API_KEY,
    ‘client_secret’: API_PASSWORD
}
# Make the API request to get an access token
Response = requests.post(url, data=payload)
Access_token = response.json().get(‘access_token’)
# Use the access token to make further API calls
Headers = {
    ‘Authorization’: f’Bearer {access_token}’,
    ‘Content-Type’: ‘application/json’
}
# Example: Get shipment tracking details
Tracking_url = https://apis-sandbox.fedex.com/track/v1/trackingnumbers
Tracking_payload = {
    “trackingInfo”: [{“trackingNumberInfo”: {“trackingNumber”: “your_tracking_number”}}]
}
Tracking_response = requests.post(tracking_url, headers=headers, json=tracking_payload)
Print(tracking_response.json())


Your Answer

Interviews

Parent Categories